Very cool! I did a similar (but much simpler!) experiment by implementing perspective projection via SQL, storing meshes (vertices, edges, faces), the camera position and the screen size in tables and building a single query that generates the SVG paths (including backface culling). Running via WASM SQlite inside the web browser. [1]
SELECT project(...) as x, project(...) as y
FROM model, vertex, camera, transform
WHERE clockwise AND clipped IN BETWEEN -1 AND 1
In the Age of AI coding, this lovely cool demos are no longer interesting anymore.
I use to appreciate them by the craftsmanship and hacking aptitude they required, but now AI took away that joy of watch this for me.
Absolutely. These things are inherently pointless - what makes them cool is the human ingenuity required to achieve them. Remove that and it’s totally uninteresting.
Coding with AI is not much different from coding without AI, just faster and with slightly less typing. But you still have to organize the work and split it into small items. If you ask a model to implement a ray tracer in SQL, it can do something one-shot, but it won't be as satisfactory as with an engineer.
Look, I love a good hack, but just. No. Why would you ever want to do this. The intersection of skill and masochism needed for this shouldn't exist and yet it does
16 comments
[ 2.6 ms ] story [ 52.8 ms ] threadYou can read more about this approach in my presentation: https://presentations.clickhouse.com/2026-openhouse-sf/great... and video: https://www.youtube.com/watch?v=FmS7VopaqNg
Note that a lot of programming can already be done via orchestration flows calling into mcp tools (replacing classical microservices).
All the no code/low code tools have migrated into it as their evolution.
You can read more about this approach in my presentation: https://presentations.clickhouse.com/2026-openhouse-sf/great... and video: https://www.youtube.com/watch?v=FmS7VopaqNg