diff options
Diffstat (limited to '')
| -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` + |
