Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Zoho Docs
Google Docs
Each Attachment size should not exceed 1MB.
Max no of attachments : 0
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
New to this Portal?
Click on Join Now to Sign Up
Join Now
Help
Feedback
Sign In
Processing Forum
Recent Topics
All Forums
Search All
Tags
Author
Advanced Search
Search
New Topic
Screen name:
kaleidos
kaleidos's Profile
2
Posts
7
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Is keyPressed() only capture on key press?
[10Replies]
17-Jul-2012 02:37 AM
Forum:
Processing with Other Languages
I want to capture the keycode which is pressing.But it fail after I release another key.
void keyPressed() {
println("typed " + int(key) + " " + keyCode);
}
The step is below:
1. press A
2. press B
3. release B.
I want to print the keyCode equal A after release B. Is processing-js support it ? How should I write the code?
How can I import/include a Class file in Processing-js?
[5Replies]
17-Jul-2012 02:28 AM
Forum:
Processing with Other Languages
I designed some class like CRect.But I only write it in my html file.
I want to mange this class in different file. If I want to use them, I could write "import mypackage.CRect" in Java.
Or I could write "Include "rect.h"" in C++;
But I don't know how to write it in Processing-js. Please tell me the method.Very thankful.
class CRect{
int
left
= 0;
int
top
= 0;
int
right
= 0;
int
bottom
= 0;
CRect(){}
}
«Prev
Next »
Moderate user : kaleidos
Forum