troika
react-three-fiber
Our great sponsors
troika | react-three-fiber | |
---|---|---|
3 | 113 | |
1,502 | 25,908 | |
2.5% | 2.1% | |
6.3 | 9.1 | |
10 days ago | about 12 hours ago | |
JavaScript | TypeScript | |
MIT License | 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.
troika
-
Frameworks/libraries/tools used to create these fancy animated 3d websites
troika (specifically troika-three-text)
-
Fastest possible text updates with or without React
Text is relatively hard to render with WebGL and browsers have a limit, of usually 16 framebuffers that you can use for WebGL contexts. Our charts are written for a WebGL target so we don't want to use up that precious resource for text rendering. In our specific use case we usually have a large degree of control over the browser so we can configure it, but if the target is web we don't have that control. Grabbing a WebGL context also takes a significant period of time, usually a hundred milliseconds or more on my computer, and not displaying data in that time isn't a great user experience.
-
2D Graphics on Modern GPU (2019)
There's a great WebGL library for doing that on the web using any .ttf, .otf, or .woff font - https://github.com/protectwise/troika/tree/master/packages/t...
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?
msdfgen - Multi-channel signed distance field generator
drei - 🥉 useful helpers for react-three-fiber
portfolio-3d - 3D portfolio
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
vello - An experimental GPU compute-centric 2D renderer.
THREE.MeshLine - Mesh replacement for THREE.Line
three.js - JavaScript 3D Library.
Next.js - The React Framework
jeelizFaceFilter - Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).
framer/motion - Open source, production-ready animation and gesture library for React
webxr-handtracking - 👐 WebXR hand tracking examples
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript