cannon-es
react-xr
Our great sponsors
cannon-es | react-xr | |
---|---|---|
8 | 12 | |
1,676 | 1,922 | |
2.5% | 2.8% | |
4.2 | 6.4 | |
4 months ago | 3 months ago | |
TypeScript | 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.
cannon-es
-
Help with chase camera
// ============ // part 2 // add base vehicle body // reference: https://github.com/pmndrs/cannon-es/blob/master/examples/rigid_vehicle.html // ============ const carBody = new CANNON.Body({ mass: 20, position: new CANNON.Vec3(0, 6, 0), shape: new CANNON.Box(new CANNON.Vec3(4, 0.5, 2)), });
-
Hello guys can someone help me with this? I'm trying to use the wireframe because I think I made an error when implementing the quaternion to my cube. I'm trying to use the debug tool. Do I need to import something with that? I already imported the Cannon.Js and everything works fine.
cannon.js hasn't been maintained for 7-8 years, the project lives on here https://github.com/pmndrs/cannon-es you import it like so
-
Drive a Tesla Cybertruck or literally any car on your browser with Threejs
Cannon-ES - 3D physics engine
-
Challenges of a web VR throwing game
Since I'm a big Poimandres fan I looked into react-xr, and it was very easy to get a first WebXR project up and running. Unfortunately, there are many dependencies in the ecosystem which slowed me down: react-xr is built on top of react-three-fiber which is built on top of Three.js, and physics is enabled by use-cannon which is built on top of cannon-es. For a long time I was running into issues and helping fix them with a couple of pull requests, and ultimately it was preventing me from working on the actual project. Still, Poimandres is a great community and I got a lot of inspiration from the content being shared in the discord.
-
Learn Three.js + Cannon.js while building a 3D game with physics (FREE course)
This was the post I was remembering, see repo here: https://github.com/pmndrs/cannon-es
-
[AskJS] What is your favorite JavaScript physics library?
btw canon has been abandoned for years. it continues to receive support on here: https://github.com/pmndrs/cannon-es which next to bug fixes also gives it types and esm/tree-shaking.
react-xr
-
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.
-
I need a push in the right direction
there's also a VR layer that makes previously complex things so easy https://github.com/pmndrs/react-xr
-
Having trouble deciding on a stack?
I'm a pure threejs afficionado myself, but r3f also has some good things going for it: https://github.com/pmndrs/react-xr
-
Three.js learning process
as an example, these are AR/VR components that allow you to build apps in minutes because all the hard parts have been taken take of, for instance gestures: https://github.com/pmndrs/react-xr
-
VR - React Library?
I havenโt played with it, but if I was going to Iโd start here https://github.com/pmndrs/react-xr
-
How to create cross device compatible WebXR experiences
React-XR for leveraging the WebXR API (e.g VR Headset + controllers) & React-Three-Drei which has useful functions for creating WebGL content.
- Help with 360 panoramic view of an image
-
Best options to build WebAR app? (Marker and Markerless)
React three fiber is amazing for building 3d on the web, and has an XR canvas https://github.com/pmndrs/react-xr
- Push Notifications, WebXR, and better PWA support coming to iOS
-
Does React-three-fiber improve how ThreeJS and React work together or is it more designed to give a react-like experience (components) within threejs?
Their docs and examples are beautiful and make it so easy to get started. As a web dev myself, the transition was pretty easy, since it was as simple as "swapping dom out for threejs objects". You get the react "engine" around it for free. Super fun for game development. (even with WebXR support https://github.com/pmndrs/react-xr)
What are some alternatives?
ammo.js - Direct port of the Bullet physics engine to JavaScript using Emscripten
react-three-fiber - ๐จ๐ญ A React renderer for Three.js
use-cannon - ๐๐ฃ physics based hooks for @react-three/fiber
WebXR-emulator-extension - WebXR emulator extension
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
react-three-next - React Three Fiber, Threejs, Nextjs starter
cannon-es-debugger - Wireframe debugger for use with cannon-es https://github.com/react-spring/cannon-es
mind-ar-js - Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
raycast-vehicle-engine - Drive your favorite 3D car in your threejs world just by uploading the GLTF Model and generating code all on the browser itself!
gltfjsx - ๐ฎ Turns GLTFs into JSX components