Skip to main content
100%

Tiger 01

✓ Published0🌍 Public
WWill Carter
Last edited Sep 22, 2019
Created on Sep 21, 2019

This example uses D3.js to animate a scatterplot of 2,500 circles, each colored according to a pixel value from a bitmap image of a tiger. The data, stored as an array of coordinate-color pairs, is shuffled before rendering so the tiger emerges pixel by pixel. Circles transition from the top-right corner to their final positions over time, using a linear scale to map the image coordinates to the chart area. The result is a playful, animated reconstruction of the tiger image, with each circle’s fill color corresponding to its source pixel.

AI-generated description

D3.js Tiger 01 Image processing (get color of each pixel in bitmap source image): https://pillow.readthedocs.io/en/stable/#

mit Licensed

Similar vizzes