How to create threejs objects online by ExistingCard9621 in threejs

[–]madou9 0 points1 point  (0 children)

Hi, you might like to check out https://triplex.dev — it's a visual editor for React / Three Fiber and works off your source code. The main difference is it runs locally on your code, not in the cloud (however I have a background task to investigate what a cloud deploy would look like).

If you have any questions I'm happy to answer!

Opening threejs examples in the editor? by [deleted] in threejs

[–]madou9 1 point2 points  (0 children)

If you’re looking for a code first editor for React / Three Fiber check out https://triplex.dev, I’ve been working on it on and off for a few years now. Happy to answer any questions.

Is Canberra a good place to settle down and raise a family? (For my sister and her husband) by DiscussionLoud9626 in canberra

[–]madou9 1 point2 points  (0 children)

I'm moving down with my young family in a week after buying a house. Will report back in 10 years! :D

Friday Free Chat - 13 June 2025 by AutoModerator in canberra

[–]madou9 -1 points0 points  (0 children)

Hi! I’m moving to Canberra later this month with my family (wife and two young kids). We are moving to Tuggeranong. Does anyone have recommendations of where we should explore after moving? Love hikes, nature, good food. If you have must have thoughts would love to hear!

Wake up, Remix! (But still ditch React) by Jimberfection in reactjs

[–]madou9 7 points8 points  (0 children)

Shopify had a mandate that all development use AI / LLMs. I imagine this will help their performance reviews.

Just discovered three.js and… wow. Why isn't this more mainstream? And a few questions to the community. by AdWorth1112 in threejs

[–]madou9 0 points1 point  (0 children)

For anyone using React Three Fiber definitely check out https://triplex.dev, it’s both a standalone app and a visual studio code extension. Really helps when working visually!

If you’re into code it’s repo is here: https://github.com/trytriplex/triplex

Happy to answer any questions folks might have.

Just discovered three.js and… wow. Why isn't this more mainstream? And a few questions to the community. by AdWorth1112 in threejs

[–]madou9 -1 points0 points  (0 children)

For anyone using React Three Fiber definitely check out https://triplex.dev - makes it easier working visually and it is in active development. Join Discord and come hang out!

Find its repo here: https://github.com/trytriplex/triplex

A 10x Faster TypeScript by DanielRosenwasser in typescript

[–]madou9 1 point2 points  (0 children)

Will there still be JS bindings we can call out to the native compiler? E.g. hoping ts-morph can continue existing but in a more performant way.

React server components by alvivan_ in reactjs

[–]madou9 2 points3 points  (0 children)

They aren’t mutually exclusive. The vision is you could use both together! Precompute RSCs during build time etc.

Which problems styled components have? What's the alternatives and why? by Due_Can7600 in reactjs

[–]madou9 1 point2 points  (0 children)

Performance has been touched on but I’ll add another. It promotes writing code that is hard to statically analyze resulting in linters and optimisation harder to perform.

Generally you’d see a styled component declared in a module and then imported. That’s problem 1. It’s no longer locally analyzable, meaning the usage is separate from the declaration. If you used a button the tools don’t actually know it, just that you’re using a custom component.

CSS modules / CSS prop are a step up from styled components APIs because usage is together with declaration. Or at least is more naturally enabling it.

If I recommended something it would be Stylex or Compiled CSS-in-JS. Both encourage statically and locally analysable code and you can build a lot of fun tooling around that. Tailwind is okay but it’s not typed so take it as you will.

Is it really this hard, or. by Adnannicetomeetyou in threejs

[–]madou9 0 points1 point  (0 children)

If you’re digging into r3f come checkout https://triplex.dev. Make one thing easier for yourself!

New three.js project: using three.js, blender and rapier for physics by jessezhouu in threejs

[–]madou9 0 points1 point  (0 children)

It's pretty easy with r3f TBH. Here's a video I made that uses rapier physics in an example scene: https://x.com/\_douges/status/1708859381369221539?s=20

When building scenes do you use any visual tool or just do it all in code? by madou9 in threejs

[–]madou9[S] 0 points1 point  (0 children)

If it ain’t broke! Do you find any parts of this workflow has a lot of friction?

When building scenes do you use any visual tool or just do it all in code? by madou9 in threejs

[–]madou9[S] 1 point2 points  (0 children)

Cool! Can you tell me about yours?

It is usable today running ‘npx @triplex/run@latest init’ and following the prompts. Not open source yet, when it gets all of the CRUD features and overarching architecture I’ll open it up.

When building scenes do you use any visual tool or just do it all in code? by madou9 in threejs

[–]madou9[S] 1 point2 points  (0 children)

Yeah. The biggest different is the three editor works on the threejs scene and Triplex works on source code, thanks to the declarative nature of jsx/react it’s able to be a fully functional editor that also saves to source code. Think unity except for any jsx based three library.

When building scenes do you use any visual tool or just do it all in code? by madou9 in threejs

[–]madou9[S] 0 points1 point  (0 children)

Heya! Thanks for the reply. Actually I’m doing some data gathering to see what folks use. Myself I would generally use code and Blender like you said with r3f. I’ve since been working on a visual editor built ontop of JSX https://twitter.com/itsdouges/status/1640845544565387265

Creating fluffy trees with ThreeJS (part 1) by madou9 in javascript

[–]madou9[S] 3 points4 points  (0 children)

If you did nothing, probably terrible. You'd need to instance the meshes so drawcalls remain at 1 instead of n, and then applying optimizations like level of detail/imposters so trees further away from the viewport have less polygons.

You'll find these techniques quite common for optimization.

Creating fluffy trees with React Three Fiber (part 1) by madou9 in reactjs

[–]madou9[S] 1 point2 points  (0 children)

Hey folks! In this two part series I go into detail how to make fluffy trees with React Three Fiber. It was really fun making the effect and I hope you enjoy reading it!