Twisty 3D effect using a 2D image

I’ve been experimenting with Processing a bit more. This one uses a single 3D rendered static image to create a hopefully reasonable 3D effect — it’s just copying different slices of the original image, and animating the source and destination position of the slice over time.

Processing source code.

The “twist.png” attachment is needed to run the code (place it in a folder called “data” next to the Processing sketch).

I’ve also created a Twitter moment with lots more Processing experiments and source code.

Marc Edwards ✎ Bjango
Makers of Snowflake, iStat Menus, and Skala.
Get in touch

More by Marc Edwards ✎ Bjango

View profile