frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Nexus.js - Fabric.js for 3D

https://punk.cam/lab/nexus
91•ges•1mo ago
I was looking for a tiny library to easily transform both 2D & 3D objects with simple mouse / touch controls and a fixed camera, in the browser.

Like a simple 3D editor but without requiring the user to be a Blender expert.

Couldn't find anything lightweight, so I’m building one. Think Fabric.js but for 3D. Built entirely with Three.js / R3F.

Borrowed some inspiration from VR/AR interaction systems for controls.

Feel free to play with it and let me know what you think!

Comments

kube-system•1mo ago
Interesting, what are some use cases for something like this?
superconduct123•1mo ago
Aerospace industry, watermelon industry
ges•4w ago
And sanitary industry
ges•4w ago
I’ve initially started building it for AR / face filters but figured out it could be nice to abstract the whole simple positioning / controls logic as a stand alone lib.
guigui•1mo ago
On the default white background, the control buttons (move, rotate, roll...) look disabled to me.
ges•4w ago
Agreed. I’ve added the white background last minute because it looked better. But texts don’t look so good on it.
ges•4w ago
Fixed!
hoppp•1mo ago
Cool. I put a poop on a rocket ship. Now what else can I do with it?
ges•4w ago
Nothing else. You’ve reached the peak.
Eduard•1mo ago
two-finger input doesn't work on my Android Chrome: a previously placed banana just glitched around, then jumped out of viewport.
ges•4w ago
Sorry for the banana. Yes two-finger gestures feel natural for zooming. I just didn’t implement them properly yet because i figured out there were cross browser issues with them on safari mobile. I’ll get something working.
WhitneyLand•1mo ago
It looks like the UX freaks out when you try to do something like pinch zoom.

If you don’t intend to support two finger gestures, you should probably at least hook in and disable them so they don’t disrupt the experience.

ges•4w ago
Yes
Flux159•1mo ago
This is pretty interesting - how has your experience been with R3F? I've built a small game level with it before and I'm wondering if I want to go all the way and build something larger.

Also, are you planning on making this open source at some point? Fabric is nice in that it manages 2D canvas objects for you & you can build things like an editor on top, in this case as a library what would you consider the primitives on top of Three objects are? Could it be used to make an editor for a 3d level?

ges•4w ago
I like the fact it allows you to write clean declarative code. Imperative becomes quickly messy imo.

I’d need to find a good api to make it open source. It’s a mini ecs system handling the object states atm.

I think the main advantage over vanilla threejs would be built-in user-friendly controls and opinionated common object types (think remote glb models, plane images, etc)

DecoySalamander•4w ago
It's great for organizing your scenes, and at least for me, it's far more readable than raw Three.js code. Unfortunately, games, especially real-time ones, don't map well to idiomatic React code. You might find yourself putting bits of game logic into various awkward places. Still, I don't think there's a better alternative for the web, except maybe Threlte if you're fine with a smaller ecosystem.
echelon•1mo ago
> Feel free to play with it and let me know what you think!

This could be cool. The 2D interface for manipulating 3D is pretty interesting. 3D tends to be hard for folks and put a lot of folks off of trying to use it creatively.

Turn this into a bigger creative canvas. Drop the crypto stuff.

ges•4w ago
Thx for the feedback. I agree.
socalgal2•4w ago
> Tap the Add button below to get started

The only buttons are Objects, Stage, Camera, Get, Share

There is no "Add" button for me.

ges•4w ago
Good catch. There was one before, just didn’t update this message yet!
fakedang•4w ago
Click objects.
ges•4w ago
Updated
kookamamie•4w ago
It says it's "next gen" - how is that? Besides that, I think the UX could use some improvements - the landing page captions look glitched and the UI iconography looks "murky", for the lack of better word. Nice effort, though.
Bengalilol•4w ago
I wasn't able to move the camera, am I missing something obvious?
lvncelot•4w ago
Ha, that brings me back trying to make Fabric.js somehow usable for a 3D viewport at a startup I was working at a while ago. (We used esm.js instead of WASM for the 3d engine, to give you an idea)

It was a lot of wrangling and unexpected behavior, and we ultimately ended up implementing a more traditional 3d gizmo - though the application was also really only meant to be used at a desktop with a mouse instead of also supporting touch controls.

eblahm•4w ago
Really impressive app! I'm not sure what I would use it for but definitely cool and impressive.

I built something similar a few years back. My thing doesn't do textures its essentially just icons, text or shapes that can be layered, colored or extruded in 3d space on a 2d design canvas. demo: https://sg.halbe.works/

I built it on Skia, three.js and my own layer algorithm.

popalchemist•4w ago
Is there a react/vue wrapper?

Looks amazing.

ppyyss8•4w ago
It'd be awesome to have undo and redo. I only tried it for a bit, but it was fun :)

Ex-Waymo engineers launch Bedrock Robotics to automate construction

https://techcrunch.com/2025/07/16/ex-waymo-engineers-launch-bedrock-robotics-with-80m-to-automate-construction/
74•boulos•6h ago•53 comments

Show HN: A 'Choose Your Own Adventure' Written in Emacs Org Mode

https://tendollaradventure.com/sample/
22•dskhatri•1h ago•2 comments

Artisanal handcrafted Git repositories

https://drew.silcock.dev/blog/artisanal-git/
77•drewsberry•3h ago•11 comments

Altermagnets: The first new type of magnet in nearly a century

https://www.newscientist.com/article/2487013-weve-discovered-a-new-kind-of-magnetism-what-can-we-do-with-it/
254•Brajeshwar•7h ago•58 comments

A Recap on May/June Stability at Neon

https://neon.com/blog/an-apology-and-a-recap-on-may-june-stability
23•nikita•2h ago•3 comments

I want an iPhone Mini-sized Android phone (2022)

https://smallandroidphone.com/
19•asimops•2h ago•28 comments

Pgactive: Postgres active-active replication extension

https://github.com/aws/pgactive
243•ForHackernews•13h ago•69 comments

Show HN: Improving search ranking with chess Elo scores

https://www.zeroentropy.dev/blog/improving-rag-with-elo-scores
127•ghita_•8h ago•42 comments

Show HN: 0xDEAD//TYPE – A fast-paced typing shooter with retro vibes

https://0xdeadtype.theden.sh/
47•theden•3d ago•16 comments

How and where will agents ship software?

https://www.instantdb.com/essays/agents
97•stopachka•5h ago•42 comments

From Engineer to Manager: A Practical Guide to Your First Months in Leadership

https://humansinsystems.com/blog/new-manager-essentials-a-practical-guide-to-your-first-months
13•yunusozen•2d ago•7 comments

Chain of thought monitorability: A new and fragile opportunity for AI safety

https://arxiv.org/abs/2507.11473
90•mfiguiere•8h ago•42 comments

Scanned piano rolls database

http://www.pianorollmusic.org/rolldatabase.php
14•bookofjoe•4d ago•6 comments

Tsunami warning issued in Southern Alaska after 7.3 magnitude earthquake

https://www.tsunami.gov/
20•notmysql_•1h ago•3 comments

Cloudflare 1.1.1.1 Incident on July 14, 2025

https://blog.cloudflare.com/cloudflare-1-1-1-1-incident-on-july-14-2025/
523•nomaxx117•19h ago•349 comments

I'm switching to Python and actually liking it

https://www.cesarsotovalero.net/blog/i-am-switching-to-python-and-actually-liking-it.html
306•cesarsotovalero•15h ago•472 comments

Shipping WebGPU on Windows in Firefox 141

https://mozillagfx.wordpress.com/2025/07/15/shipping-webgpu-on-windows-in-firefox-141/
335•Bogdanp•16h ago•136 comments

Weave (YC W25) is hiring an AI engineer

https://www.ycombinator.com/companies/weave-3/jobs/SqFnIFE-founding-ai-engineer
1•adchurch•6h ago

Young graduates are facing an employment crisis

https://www.wsj.com/economy/jobs/jobs-unemployment-rise-young-people-ce4704d8
85•bdev12345•2h ago•136 comments

Tin Can – The landline, reinvented for kids

https://tincan.kids/
86•derwiki•1h ago•71 comments

What's happening to reading?

https://www.newyorker.com/culture/open-questions/whats-happening-to-reading
118•Kaibeezy•3d ago•247 comments

PyPI Prohibits inbox.ru email domain registrations

https://blog.pypi.org/posts/2025-06-15-prohibiting-inbox-ru-emails/
115•miketheman•4h ago•85 comments

Mkosi – Build Bespoke OS Images

https://mkosi.systemd.io/
53•leetrout•6h ago•14 comments

Tilck: A tiny Linux-compatible kernel

https://github.com/vvaltchev/tilck
261•chubot•19h ago•51 comments

Atopile – Design circuit boards with code

https://atopile.io/atopile/introduction
80•poly2it•3d ago•19 comments

Show HN: BloomSearch – Keyword search with hierarchical Bloom filters

https://github.com/danthegoodman1/bloomsearch
45•dangoodmanUT•3d ago•10 comments

How I lost my backpack with passports and laptop

https://psychotechnology.substack.com/p/how-i-lost-my-backpack-with-passports
105•eatitraw•1d ago•96 comments

GPUHammer: Rowhammer attacks on GPU memories are practical

https://gpuhammer.com/
260•jonbaer•23h ago•89 comments

Ukrainian hackers destroyed the IT infrastructure of Russian drone manufacturer

https://prm.ua/en/ukrainian-hackers-destroyed-the-it-infrastructure-of-a-russian-drone-manufacturer-what-is-known/
584•doener•14h ago•400 comments

MARS.EXE → COM (2021)

https://chaos.if.uj.edu.pl/~wojtek/MARS.COM/
142•reconnecting•4d ago•42 comments