Marc Edwards ✎ Bjango

Twisty 3D effect using a 2D image

  • Save
Twisty 3D effect using a 2D image code processing demoscene 3d twist

2 Attachments

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.

keyboard shortcuts: L or F like