float vely = 10;
float velx = 10;
float g = 1;
// the same as circley=circley+vel
//same as vel=vel
This sketch is running
as Java applet, exported from Processing.
now with the gravity, look how the ball draws!
To tweak this sketch, first download it.
Make your updates, then upload your tweak!
OpenProcessing is an online community platform devoted to sharing and discussing Processing sketches in a collaborative, open-source environment.
To contact, send an email to:
Follow OpenProcessing on Twitter!
Blog - Feedback forum
Sketches and source code of free membership users are licensed under CC and GNU GPL.
Plus+ member sketches may
include a different license.
Most icons by somerandomdude.
Syntax highlighting and Processing brush under LGPL 3.