frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Convert GLB, OBJ, and STL Models to SVG In-Browser

https://greglinscheid.com/tools/3d-to-svg/
2•vilos1611•43m ago

Comments

vilos1611•42m ago
I'm currently building a game (https://nebulaser.io) that runs in the browser, and wanted to add some icons to the game that accurately resemble the 3D model I am using for the player's ship.

I wanted something that could make either a flat or "cel-shaded" SVG from the original 3D file. Additionally, I wanted to be able to manually pose the model before taking a "snapshot".

Looking into this, I found some options but a few themes emerged. They either:

- Produced massive SVGs with bloated path counts.

- Required installing desktop software (Blender pipelines, local utilities, etc.).

- Were hidden behind paywalls or SaaS subscriptions.

So, I built a 3D to SVG tool. Everything runs entirely client-side in the browser, and I don't plan on monetizing it (it's a fairly niche need after all).

Some notes on how it works:

- Three.js is used for the 3D arcball and to pre-simplify dense meshes via grid vertex welding.

- All geometry calculations and the SVG path generation is handled on a Web Worker, so the main UI thread stays snappy when rendering a new pose.

- Uses 2D polygon unions to merge mesh triangles into clean silhouettes, sealing hairline gaps between "cel-shaded" regions. The output size is reduced with Douglas-Peucker path simplification.

- Outputs minimal markup using currentColor so the exported icon can be directly recolored via CSS. You can copy/paste the output or download an SVG.

Hopefully it can benefit someone else!

roymasad•11m ago
nice! i dont know what to use it for yet myself but this is actually pretty awesome

How to Talk to Your Robot: Keeping Coding Agents on Track

https://johnjeffers.com/how-to-talk-to-your-robot/
1•freediver•32s ago•0 comments

US Government targets Cop City protester over phone operating system

https://www.theguardian.com/us-news/2026/jul/23/cop-city-protester-phone
1•pastemato•39s ago•0 comments

Microsoft launches hill-climbing MAI models for Copilot and Excel

https://runtimewire.com/article/microsoft-hill-climbing-mai-models-copilot-excel
1•ryanmerket•1m ago•0 comments

Tesla's Founders Are Backing the Anti-Cybertruck

https://www.forbes.com/sites/alanohnsman/2026/07/23/teslas-founders-are-backing-the-anti-cybertruck/
2•rawgabbit•1m ago•0 comments

Researchers let AI models run a simulated society

https://fortune.com/2026/05/28/ai-model-simulation-claude-chatgpt-grok-gemini/
1•CharlesW•1m ago•0 comments

Paper Things I Use

https://aartaka.me/uses-paper.html
2•Brajeshwar•2m ago•0 comments

Analytics Are Lying to You

https://ankursethi.com/blog/your-analytics-are-lying-to-you/
1•birdculture•2m ago•0 comments

The Big Smoke – a living atlas of London

https://www.levels.fyi/atlas/london
2•speckx•6m ago•0 comments

Ask HN: Solo devs / small teams, how do you do SEO for any projects you launch?

1•shvilesh-logen•9m ago•0 comments

A Claude skill that grills you so hard. Within a nice clean interface

https://github.com/rizzdev/claude-detective
1•rizzdev•11m ago•0 comments

A value-poisoning benchmark for consequential agent actions

https://actionrail.ai/research/value-poisoning-benchmark/
1•oss-dev•14m ago•0 comments

Git Repositories on Nostr and Hashtree

https://git.iris.to
1•vlugorilla•14m ago•1 comments

Why the US is losing Chinese AI stars

https://www.ft.com/content/0c773366-61a2-4d33-894e-6b3ddfcfd9b3
1•newusertoday•15m ago•0 comments

Sheetz is quitting VMware, migrating 11,000 virtual machines

https://arstechnica.com/information-technology/2026/07/sheetz-moves-838-stores-off-vmware-broadco...
2•bookofjoe•15m ago•0 comments

From Amazon SDM to Solo Developer

https://blog.bitflinger.tv/from-amazon-sdm-to-solo-developer
2•stitchy•16m ago•0 comments

EU fines Google $1B over its search and Play Store

https://proton.me/blog/google-eu-fine-antitrust-play-search
1•Erenay09•16m ago•1 comments

Could China and Russia Destroy Starlink?

https://arstechnica.com/space/2026/07/could-china-and-russia-really-destroy-starlink-only-with-a-...
1•gumby•17m ago•0 comments

Data centers barely use any water or land, and they lower electric bills

https://twitter.com/cremieuxrecueil/status/2078258808225214619
2•MrBuddyCasino•17m ago•1 comments

Shayan Oveis Gharan Wins 2026 IMU Abacus Medal

https://www.quantamagazine.org/shayan-oveis-gharan-wins-2026-imu-abacus-medal-20260723/
1•MaysonL•17m ago•0 comments

LLMs break down in funny ways when told the Jacobian Conjecture counterargument

https://minimaxir.com/2026/07/jacobian-conjecture/
1•minimaxir•18m ago•0 comments

Getting Started with Loops

https://twitter.com/ClaudeDevs/status/2074208949205881033
2•gmays•21m ago•0 comments

GitHub Increased Instant Navigation 5.5x by Rethinking Client Side Architecture

https://www.infoq.com/news/2026/07/github-issues-navigation/
1•theanonymousone•21m ago•0 comments

Why Linus Is Right and AI Is Wrong

https://raymyers.org/post/why-linus-is-right-and-ai-is-wrong/
2•mender-ai•22m ago•1 comments

When a Passing Test Suite Hides a Broken Model

https://medium.com/@alanscottencinas/the-green-test-suite-that-hid-a-broken-model-f3ea908a57cd
1•encinas88•23m ago•0 comments

Half-Life 2 / Valve Source Shading [pdf]

http://www.decew.net/OSS/References/D3DTutorial10_Half-Life2_Shading.pdf
2•klaussilveira•23m ago•0 comments

Down with the Gradient Reinventing Logistic Regression

https://martimchaves.com/#/blog/logistic-regression
1•martimchaves•24m ago•1 comments

Albert Einstein's Real Interview on War, Nationalism, and Democracy (1940)

https://www.youtube.com/watch?v=2WpkQCNMT2s
2•theanonymousone•24m ago•0 comments

We Stopped Going to the Movies

https://www.statsignificant.com/p/why-we-stopped-going-to-the-movies
1•speckx•26m ago•0 comments

Deep Learning: Searching for a Function

https://fazamhd.com/mental-models/deep-learning/
1•faza•27m ago•0 comments

Dassault Systemes to Buy ArisGlobal for Up to $2B

https://www.wsj.com/health/dassault-systemes-to-buy-arisglobal-for-up-to-2-billion-82aecb9a
1•N_A_T_E•27m ago•0 comments