diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-06-06 16:15:14 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-06-06 16:43:29 +0530 |
| commit | 9fb9a94aa2d3bdb90f088f7188053374155a6715 (patch) | |
| tree | 49d1ccd866133b278a9b310e90277f0de5ee9075 /README.md | |
| parent | 9d178c66ef3b9f50c62d05c53f1dc772cc0f25fe (diff) | |
| download | sqlite-creative-coding-9fb9a94aa2d3bdb90f088f7188053374155a6715.tar.gz sqlite-creative-coding-9fb9a94aa2d3bdb90f088f7188053374155a6715.zip | |
Add video/gif generation + add wavey example
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 40 |
1 files changed, 28 insertions, 12 deletions
@@ -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) <table> <tr> @@ -36,5 +25,32 @@ Generating some visuals with SQL because nobody stopped me. With the magic of [r <img src="media/voronoi.png" /> </td> </tr> + <tr> + <td width="50%" valign="top"> + <h3><a href="./src/wavey.sql">Wavey</a></h3> + <img src="media/wavey.gif" /> + </td> + <td width="50%" valign="top"></td> + </tr> </table> +--- + +## 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` + |
