stackgl
three-stdlib
stackgl | three-stdlib | |
---|---|---|
1 | 7 | |
2,157 | 647 | |
0.0% | 2.0% | |
0.0 | 8.1 | |
almost 2 years ago | 4 days ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | 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.
stackgl
-
React Three Fiber and NextJS Starter Template
This is actually pretty simple to implement if youโre already using Webpack. You essentially use the raw-loader to load the โrawโ shader file and glsify-loader to parse the GLSL shader.
three-stdlib
-
Arghhh ! Three !
We have forked parts of the three core stuff to minimise breaks. drei for instance uses https://github.com/pmndrs/three-stdlib not examples/jsm. The threejs version you install can still pull the rug but pmndrs works against that with conditionals, shaders for instance are made to function despite three breaking stuff. You can generally rely on it and Fiber + eco system has semantic versioning.
-
React Three Fiber and NextJS Starter Template
React Three Fiber has been a fantastic way to quickly prototype 3D apps and games, and even efficient enough to carry them through to production. The problem? Itโs can be a lot of setup. Just from that last paragraph, you see the string of dependencies R3F uses, and it gets even more complicated from there when you familiarize yourself with the current ThreeJS ecosystem (see: three-stdlib).
-
Resources for using Three.js with Nuxt
three doesn't play well with node and node based environments. poimandres has been building out three's reach more and more, for instance https://github.com/pmndrs/three-stdlib this will all run under next/nuxt or whatever without workarounds.
-
Need help importing .gltf into a nextJS component.
three is harder to use in next because it doesn't run under node. with three-fiber we have begun to fork some parts of it: https://github.com/pmndrs/three-stdlib that will make it easier to use it under next, even if you use "vanilla" three, stdlib's GLTFLoader will run fine whereas there/jsm won't (without workarounds). is there any reason why you would not want to use react for three though? you're using it for the dom already, r3f is the exact same thing as react-dom, a renderer, it doesn't wrap three.
-
How to build 3D scenes with React Three Fiber
Same, the pmndrs folks at least pulled some of the examples stuff into https://github.com/pmndrs/three-stdlib which is ESM
-
Challenges of using Three.js and vue3+nuxt
you can use the same tools that react users use because we face the same problems. for instance, next/nuxt are running under node, which doesn't understand what "import" means, so you'll not be able to use anything from three/examples/jsm/ (loaders, controls, etc). but we have made solutions for that. for instance https://github.com/pmndrs/three-stdlib generally there is lots on the poimandres github org that is equally valid for vanilla, react, vue and anything else.
-
Render Scene inside Nextjs [Help Wanted]
don't mix three and react. take an hour to read through react-three-fiber docs and port it. you will be so much better off, 95% of that code will just vanish. poimandres also takes care of all the other parts, for instance three/examples/jsm/* is not node compatible, you can't easily use it in next. but there exists three-stdlib now and many other things that make your life easier.
What are some alternatives?
Cytoscape.js - Graph theory (network) library for visualisation and analysis
drei - ๐ญ useful helpers for react-three-fiber [Moved to: https://github.com/pmndrs/drei]
limdu - Machine-learning for Node.js
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...).
seedshot
leva - ๐ React-first components GUI
skale - High performance distributed data processing engine
A-Frame - :a: Web framework for building virtual reality experiences.
NodeOS - Lightweight operating system using Node.js as userspace
voxel-editor - A voxel editor in the browser.
GitTorrent - A decentralization of GitHub using BitTorrent and Bitcoin
drei - ๐ฅ useful helpers for react-three-fiber