From 9fb9a94aa2d3bdb90f088f7188053374155a6715 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 6 Jun 2026 16:15:14 +0530 Subject: Add video/gif generation + add wavey example --- README.md | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 368a2ff..95b047c 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,7 @@ Generating some visuals with SQL because nobody stopped me. With the magic of [recursive CTE](https://sqlite.org/lang_with.html). -### Dependencies -- sqlite3 -- imagemagick - -### Setup -- Using justfile: `just setup` -- Directly: `sqlite3 fun.db < setup.sql` - -### Generate image -- Using justfile: `just image src/mandelbrot.sql` -- Directly: `sqlite3 fun.db < src/mandelbrot.sql && ./image.sh mandelbrot fun.db` - +[How it works](https://ediblemonad.dev/coding4fun/2026-06-03-creative-coding-in-sqlite.html) @@ -36,5 +25,32 @@ Generating some visuals with SQL because nobody stopped me. With the magic of [r + + + +
+

Wavey

+ +
+--- + +## Setup and run + +### Dependencies +- sqlite3 +- imagemagick + +### Setup +- Using justfile: `just setup` +- Directly: `sqlite3 fun.db < setup.sql` + +### Generate image +- Using justfile: `just image src/mandelbrot.sql` +- Directly: `sqlite3 fun.db < src/mandelbrot.sql && ./image.sh mandelbrot fun.db` + +### Generate video +- Using justfile: `just video src/wavey.sql` +- Directly: `sqlite3 fun.db < src/wavey.sql && ./video.sh wavey fun.db` + -- cgit v1.3.1