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 38 hours ago #software #dataviz #technology #developer-tools #duckdb-wasm #browsers #games #software #sql #webassembly #duckdb




More Top Stories...


OpenAI broadens access to its upgraded image generator

OpenAI is extending its cutting-edge image generation technology to developers by releasing it via API. The upgrade, famous for its Studio Ghibli-inspired visuals, will now empower other platforms and apps to integrate this feature directly, marking another bold step in the AI creative revolution. More...


OpenAI eyes purchase of Google Chrome business

In a move that might make industry insiders raise an eyebrow, OpenAI has expressed its willingness to acquire Google’s Chrome browser if the tech giant is forced to divest. This bold declaration underscores OpenAI’s ambition to expand its ecosystem while playfully challenging the status quo in the tech world. More...


Google Gemini court reveal shows explosive user growth

In a courtroom disclosure amid antitrust inquiries, internal data revealed that Google’s AI chatbot Gemini now boasts 350 million monthly active users. The revelation underscores the rapid adoption of Google’s AI offerings and intensifies the scrutiny over its market power. More...


SK Hynix Earnings Surge Amid Record AI Chip Demand

South Korea’s SK Hynix delivered stunning quarterly earnings, smashing profit forecasts thanks to a roaring demand for AI chips. The semiconductor giant is riding the artificial intelligence wave—proving that, in today’s tech frenzy, even memory makers can have a moment of brilliance with an electrifying performance. More...


Discord leadership shakeup fuels executive transition

In a major internal shakeup, Discord’s co-founder Jason Citron is stepping down as CEO after 13 years, making way for former Activision Blizzard exec Humam Sakhnini. This leadership change marks a pivotal moment for the platform as it navigates the heightened expectations of its evolving digital landscape. More...


Related Tags


Software


Chainguard Secures $3.5B Valuation with Massive Series D Funding (2 hours ago)

Microsoft squashes Server freezes and BSOD glitches (23 hours ago)

Apple releases public betas for iOS 18.5 and macOS Sequoia 15.5 (36 hours ago)

more #software


Data Visualization


Mortgage Rates Update: Cooling Trends for Homebuyers and Refinancing (2 days ago)

Auto industry adapts strategy amid new US auto tariffs (6 days ago)

Northern Lights Expected Across Northern US Due to Solar Eruption (8 days ago)

more #dataviz


Technology


SK Hynix Earnings Surge Amid Record AI Chip Demand (7 hours ago)

IBM Faces Federal Contract Setbacks Amid DOGE Policy Cuts (8 hours ago)

Perplexity’s Bold Move Against Google’s Monopolistic Dealings (9 hours ago)

more #technology


Developer Tools


more #developer-tools


DuckDB-WASM


more #duckdb-wasm


Browsers


OpenAI eyes purchase of Google Chrome business (10 hours ago)

Google reverses course on Chrome cookie phase-out (36 hours ago)

Google Antitrust Trial Heats Up With DOJ Demands (44 hours ago)

more #browsers


Games


Clair Obscur Expedition 33 Sparks Producer Insights and Startup Tips (19 hours ago)

Oblivion Remastered now live across platforms (38 hours ago)

Duolingo adds chess lessons to its learning arsenal (47 hours ago)

more #games


software


Microsoft squashes Server freezes and BSOD glitches (23 hours ago)

Apple releases public betas for iOS 18.5 and macOS Sequoia 15.5 (36 hours ago)

Google Messages adds nudity warning and blur feature (38 hours ago)

more #software


sql


ClickHouse introduces lazy materialization for faster, leaner queries (37 hours ago)

more #sql


webassembly


more #webassembly


duckdb


more #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.