explainers
react-three-fiber
explainers | react-three-fiber | |
---|---|---|
13 | 113 | |
365 | 26,057 | |
0.0% | 1.4% | |
6.5 | 9.0 | |
about 1 month ago | 4 days ago | |
JavaScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
explainers
-
What type of web design is this called? It's one of the best I've ever seen!
There are some attempts at introducing a tag to the HTML spec to natively render 3d models but the responses from the developer community are mixed. People want flexibility which is why exposing lower level APIs that people then can write wrappers for is often the better solution.
- Show HN: USDZ.app Create Photogrammetry/AR Experiences in your browser
-
Ask HN: Is VRML (Virtual Reality Modeling Language) Relevant to Metaverse?
Historically perhaps! I'm not sure how so.
These days, the only entity I'm aware of trying to help the web forward with 3D that I have seen is a company I criticize frequently for holding the web back, Apple. They have been working to add a element[1].
Also happy to see Apple add BroadcastChannel and File System Access in Safari tech preview 131.
I'm still uncomfortable/alarmed having a general purpose device that's incapable of running all but a single possible web browser engine, and it's frustrating that incredibly empowering rich capabilities like Web MIDI are simply discarded (on valid security grounds, but still a vital capability I think we need to figure out how to allow). But Model or something like it is good solid declearative web innvoation (clawing back what's been javascripts). Templates were good, solid, declarative web innovation (clawing back what's been javascript's). And a lot of nuts and bolts to eventually finally seem to make it into Safari. I think I might be able to go to DEFCON 3 some day on my Safari feels.
[1] https://github.com/WebKit/explainers/tree/main/model https://news.ycombinator.com/item?id=28353997 (2 months ago, 232 comments)
-
can I use a 3D model as an item inside a CSS container to create a grid of 3D items?
I believe this is more or less the same with the element that WebKit (Apple/Safari) is proposing. https://github.com/WebKit/explainers/tree/main/model
- Evolution
- Apple proposes adding "model" element to HTML that displays 3D content
- WebKit proposes adding a <model> element to HTML that displays 3D content using a renderer built-in to the browser
-
Hacker News top posts: Aug 31, 2021
Apple proposes adding "model" element to HTML that displays 3D content\ (47 comments)
react-three-fiber
-
3JS Job Market
this is perfect then. a large part of the threejs userbase is using https://github.com/pmndrs/react-three-fiber (roughly 1/4, and growing) and this is also where you find lots of job opportunities. fiber has a vast eco system, but if you can pair this with your knowledge of shaders you'll find a job tomorrow if you wanted.
-
Next topics for mastering frontend
there's 3d with threeJS you could play around with that and hooking it into react with react-three-fiber.
-
Was anyone able to make a 3D CAD tool in React?
Have you looked at this: https://github.com/pmndrs/react-three-fiber
-
CLI vs Expo
Only instance in recent memory where I was able to get something working with Expo but not the CLI was when trying to integrate react-three-fiber, but even that may be resolved now.
-
Getting started with 3D web development
this will put you at a massive advantage: https://github.com/pmndrs/react-three-fiber it's a renderer, just like react-dom, it won't change what threejs is or how it functions.
-
Suggestions needed
there's a whole eco system around three in react and next. it starts with react-three-fiber, drei has tons of helpers, and then there's three-next for when you need 100% lighthouse, persisting canvas across routes etc.
-
Built a new splash page at the beginning of the year. Used the opportunity to experiment with react-three-fiber.
I picked the stack I did to expand upon my skill set. In particular, I wanted to brush up on react-three-fiber, react-spring & drei.
-
My own collection so far :)
I think the easiest for you would be to get into this through web development try this https://github.com/pmndrs/react-three-fiber coupled with this https://github.com/pmndrs/react-xr But don't expect super beautiful graphic from this, it's abstraction over three.js library which is abstraction over webgl standard which implements OpenGL ES 2.0 which is 7 years old graphics standard targeted to mobile devices with not much power. Or you can experiment with unity (unity XR) or unreal engine which are harder to learn but produce better graphics.
-
Why react?
On the technical side, the ability to have pluggable renderers has been very useful for us. We never would have considered 3D without react-three-fiber. Building cli applications with react-ink is pretty cool.
-
3D Product Card With ReactJS
Then, we need to install the dependencies that we will use in this project. We will use Three.js library, @react-three/fiber and @react-three/drei.
What are some alternatives?
model-viewer - Easily display interactive 3D models on the web and in AR!
drei - 🥉 useful helpers for react-three-fiber
hubs - Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
THREE.MeshLine - Mesh replacement for THREE.Line
Next.js - The React Framework
framer/motion - Open source, production-ready animation and gesture library for React
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript
three.js - JavaScript 3D Library.
react-xr - 🤳 VR/AR with react-three-fiber
use-cannon - 👋💣 physics based hooks for @react-three/fiber