Education/Projects/ProcessingForTheWeb/Tasks: Difference between revisions

mNo edit summary
Line 29: Line 29:
! Attachment/link
! Attachment/link
! Difficulty
! Difficulty
|-
| variable + space + semicolon
| Defining a variable such as "float y ;" with a space between the number and the semicolon can cause regex parsing errors.
|
| Difficult
|-
| // Comment
| Using double slashed comments // at the end of any script will cause REGEX to loop on parsing, subsequently crashing browser. Quick solution is to add a blank line at the end of every script.
|
| Difficult
|-
| mouseX & mouseY
| mouseX and mouseY are returned as incorrect values when the canvas is a child of a relative element.
|
| Medium
|-
| nf()
| colspan="3" | [https://processing-js.lighthouseapp.com/projects/41284/tickets/42-nf-can-crash-browser See lighthouse ticket]
|-
| keyCode, CODED, etc
| Keyboard functions need fleshing out and cross-browser/cross-platform testing.
|
| Medium
|-
| The Angel Bug
| When the regex parse encounters strings with a comma in, it parses the word before the comma as a variable. Work around is to escape strings... String myString =  “this \, is a string”; But that is in no way ideal. More info: http://hyper-metrix.com/processing-js/docs/?page=Angels%20Weep
|
| Difficult
|-
| Table bug
| Processing.js demos will not render if they are in a table. However any canvas demo does.
|[http://matrix.senecac.on.ca/~asalga/pjs/table_test/table_test.html Table test]
| Undetermined
|-
| Boolean array bug
| Processing.js fails if an array of booleans is created with a variable defined before array.
|[http://matrix.senecac.on.ca/~asalga/pjs/table_test/boolean_test.html Boolean array test]
| Undetermined
|-
|-
| Overloading function bug
| Overloading function bug
Line 73: Line 35:
| Undetermined
| Undetermined
|-
|-
|-
| Drop frame system
| A method to drop frames that are not drawn in time. This would be great for media-syncing if you want your app to stay in-time with audio and video. Not sure how plain-old JS timers will handle this... but it's worth testing
|
| Medium
|-
| array.clone
| colspan="3" |[https://processing-js.lighthouseapp.com/projects/41284-processingjs/tickets/20-arraycopy See lighthouse ticket]
|}
|}