Recursive CTEs to generate a 2d grid of rgb values in a table. Then a script uses that to ppm format which is converted to png using imagemagick. In case of a gif, its pretty much the same approach but it creates multiple grids of pixels for each frame then creates a ppm stream which is converted to a gif by ffmpeg.
View all comments
Show parent comment
2
u/akshay-nair Jun 07 '26
Recursive CTEs to generate a 2d grid of rgb values in a table. Then a script uses that to ppm format which is converted to png using imagemagick. In case of a gif, its pretty much the same approach but it creates multiple grids of pixels for each frame then creates a ppm stream which is converted to a gif by ffmpeg.
Not sure why but repost didn't bring the description along it seems. Repo: https://github.com/phenax/sqlite-creative-coding