use-cannon
BabylonJS
use-cannon | BabylonJS | |
---|---|---|
10 | 63 | |
2,685 | 22,488 | |
0.4% | 1.2% | |
5.6 | 10.0 | |
2 months ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
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.
use-cannon
-
Why react-three-rapier does not use worker like use-cannon
I'm using rapier physics lib in my own project, and i did that using workers too, i refered this repository https://github.com/pmndrs/use-cannon and when i saw the similar project to use physics lib into react-three-fiber but with rapier https://github.com/pmndrs/react-three-rapier, i notice that they don't use workers... There is some reason to not use workers with rapier? Weren't we supposed to use physics on workers for performance reasons?
-
Create a First Person Movement in React Three Fiber - Part 2
For this example we are going to use Reac Three Cannon a specific library to create physics. You can use Rapier, another cool library, but is under development right now.
-
3D web - Cannon physics - web3 serie
"Cannon" is the rigid body physics engine who includes simple collision detection, various body shapes, contacts, friction and constraints.
- About gamedev in JS / ThreeJS
-
How to prevent camera from entering cubes
I'm trying to build a maze using react-three/fiber and react-three/cannon. I've added first person controls using this Minecraft Sandbox and a layout very similar to the example on the react-three/cannon Github page, just with more boxes acting as walls. But, instead of stopping at the boxes/walls, the camera moves directly in and through the larger ones and tumbles over the smaller ones. Any idea how to prevent this?
-
Noob Here! I need help to figure out how use physics with three and react fiber
you use this library: [@react-three/cannon](https://github.com/pmndrs/use-cannon)
-
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.
-
[AskJS] Why don't they make JavaScript multi-threaded?
I'd be really curious to hear how you'd refactor a library like use-cannon? The primary challenge with it's development is exactly the issue that the other commenter described: building the API bridge between the WW and the main thread. I have been thinking about this for at least a full year and I haven't come up with a better way to structure the code - yet this seems like an ideal use case for a webworker.
-
Advice: Three.js vs. Babylon.js - choosing the right 3D javascript library
There’s https://github.com/pmndrs/use-cannon for R3F physics too.
-
I'm a bit stuck.
physics are easy, here's a 60 loc arkanoid using use-cannon: https://codesandbox.io/s/sweet-babbage-66cd7
BabylonJS
- Show HN: My wife and I made a maze game
-
Release Radar • March 2024 Edition
It's been around for a while, and we've featured it in the April 2019 and March 2022 Release Radars. It's also been in GitHub Game Bytes and on our latest episode of The Download. Yes, I'm talking about Babylon, the powerful web rendering engine for all kinds of graphics. The newest update includes support for basic Global Illumination, a highly requested feature. Read more about other cool new additions including Gaussian Splatting, Ragdoll physics, Procedural Geometry and all the breaking changes in the Babylon release notes.
- Not only Unity...
- Anime.js – A lightweight JavaScript animation library
-
How do I integrate Motion and Animation into my Projects?
Wow that site is super cool! So I see most of the 3D stuff is using canvas, maybe three.js or babylon.js or possibly pixi.js.
-
Which tools should I use to create my game ?
Sure; I've used [Phaser](https://phaser.io/) before for a game jam like project and I've heard of [PixiJS](https://pixijs.com/) and [Babylon.js](https://www.babylonjs.com/) as options too. I can't really give a good recommendation either way; Phaser was fun to just write TypeScript and see my game, but it felt like a toy compared to Unreal. I'm sure you could really push it to its limits though. You mentioned you know about LibGDX; I don't have experience with it, but it does seem like a viable option.
- Babylon.js: Powerful, Beautiful, Simple, Open - Web-Based 3D At Its Best
-
JavaScript framework for making games. no game engine
I’ve only messed around with it a bit, but https://www.babylonjs.com seems impressive
- Faster LZ is not the answer to 150-250 GB video game downloads
- Babylon.js 6.0
What are some alternatives?
react-three-fiber - 🇨🇠A React renderer for Three.js
three.js - JavaScript 3D Library.
ammo.js - Direct port of the Bullet physics engine to JavaScript using Emscripten
cannon-es - 💣 A lightweight 3D physics engine written in JavaScript.
Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. [Moved to: https://github.com/phaserjs/phaser]
react-xr - 🤳 VR/AR with react-three-fiber
p5.js - p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
react-three-rapier - 🤺 Rapier physics in React
model-viewer - Easily display interactive 3D models on the web and in AR!
WebXR-emulator-extension - WebXR emulator extension
A-Frame - :a: Web framework for building virtual reality experiences.