The above GIF was rendered with Canvas2D and JavaScript. I used texel, a tool I am developing but have not yet released.
If you want to try this very experimental tool, install the latest working version like so:
npm install [email protected] --global
Copy the index.js
example script (see next file) into a new directory:
pbpaste > index.js
Now, start a development server on that file and open the browser:
texel index.js --open
When the page loads, it will save 100 numbered PNG frames in a tmp/
folder relative to your current working directory.
To create a GIF with ffmpeg:
ffmpeg -framerate 24 -i tmp/%02d.png -y output.gif
To create an MP4 file:
ffmpeg -framerate 24 -i tmp/%02d.png -y -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4
Another one using the same technique: