float easing = 0.03;
void target(float mx)
m = map(mx, 0, width/1, 0, 50);
easedR += (m - easedR) * easing;
for (int i=0; i<=360; i+=10)
float x = easedR * cos(radians(i));
float y = easedR * sin(radians(i));
rect (25, 25, 20, 20);
line ( 0, 0, 50, 50);
line ( 50, 0, 0, 50);
This sketch is running
as Java applet, exported from Processing.
Report for inappropriate content
Your have successfully reported the sketch. Thank you very much for helping to keep OpenProcessing clean and tidy :)
Make a Copyright Infringement claim
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.