Processing Java vs. Python
The goal of the script is to create an array of circles bouncing about within a window. Shown here are the syntax differences between Python and JavaScript. While JavaScript has access to a built-in object ArrayList, Python can simply make a universal list object where elements can be added. Note that the draw function in java is omitted because of page display space limit.
No comments:
Post a Comment