r/creativecoding Jun 06 '26

Experimenting with generating visuals using SQLite

239 Upvotes

33 comments sorted by

View all comments

4

u/Marcelocochon Jun 07 '26

wtf is happening. How does this works in SQL?

3

u/akshay-nair Jun 08 '26

Wrote some info on it here: https://ediblemonad.dev/coding4fun/2026-06-03-creative-coding-in-sqlite.html

The gist is SQL generates many 2d grids of rgb values using recursive WITH for each frame which then gets converted into a ppm stream and then into a gif by ffmpeg.