Dear Internet,

by 2:29:00 pm 0 comments




This weekend, I worked on a new code experiment - a multi-touch enabled semi-random polygon drawing tool. It creates polygon shapes that look sort of like endlessly unfolding paper. You can draw with your mouse or fingers, or you can have it draw randomly.
The original concept was to create a toy for my 6 month old daughter Zelda that would make cool looking shapes based on her spastic slapping of the iPad screen. Goal achieved!
Every time you add a new point to the drawing - by clicking, dragging, or tapping with a finger - the algorithm creates a new polygon by connecting your new point to 2 or more existing nearby points. This is how I achieved the folding paper effect.
When put into auto-draw mode, I add a tiny bit of wiggle to each point as the polygons are drawing, which lends a sort of frantic liveliness to the image as it is created.
Try it in your browser, or put it on your iPhone or iPad: It will create colorful, full screen images! You can save cool results as transparent PNG files, as seen above.

Unknown

Developer

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

0 comments:

Post a Comment