DuckDB-WASM draws 3D graphics with SQL magic

April 22, 2025, 12:21 pm

Developers have creatively repurposed SQL by leveraging DuckDB’s WebAssembly build to render 3D graphics. Through a series of clever queries that implement basic ray tracing, this hack transforms SQL into a surprising medium for graphic art, proving that even database engines can have a little fun when pushed beyond traditional limits.


simonwillison.net / Abusing DuckDB-WASM by making SQL draw 3D graphics (Sort Of)

Abusing DuckDB-WASM by making SQL draw 3D graphics (Sort Of) Brilliant hack by Patrick Trainer who got an ASCII-art Doom clone running in the browser using convoluted SQL queries running against the WebAssembly build of DuckDB. Here’s the live demo, and the code on GitHub. The SQL is so much...

hey.earth / Abusing DuckDB-WASM by making SQL draw 3D graphics (Sort Of)

Comments


permalink / 2 stories from 2 sources in 5 hours ago #software #dataviz #technology #developer-tools #duckdb-wasm #browsers #games #software #sql #webassembly #duckdb



Disclaimer: The information provided on this website is intended for general informational purposes only. While we strive for accuracy, we do not guarantee the completeness or reliability of the content. Users are encouraged to verify all details independently. We accept no liability for errors, omissions, or any decisions made based on this information.