Skip to main content
100%

Poulp

✓ Published0🌍 Public
YYannael
Last edited Apr 17, 2016
Created on Apr 17, 2016

A single kitten photograph is duplicated and animated across a 500-by-500 pixel canvas. One copy moves in a large circular path driven by the cosine of elapsed milliseconds, while a second static copy remains fixed. The p5.js `draw()` loop continuously updates the moving image’s position and size, and the background can be cleared or recolored by pressing the spacebar, which triggers either a white or random-color background via `keyTyped` and `keyPressed` handlers. The image is loaded from a Wikimedia Commons URL using `loadImage()`.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/Yannael/'>Yannael</a>'s block: <a href='http://bl.ocks.org/Yannael/7b03f4e6783e910c91d3996b8aa06850'>Poulp</a>

forked from <a href='http://bl.ocks.org/Yannael/'>Yannael</a>'s block: <a href='http://bl.ocks.org/Yannael/1700fbf12a6c5ff05a018afea6d6e512'>Poulp</a>

Similar vizzes