gltfjsx
🎮 Turns GLTFs into JSX components (by pmndrs)
use-sound
A React Hook for playing sound effects (by joshwcomeau)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
gltfjsx | use-sound | |
---|---|---|
56 | 7 | |
4,233 | 2,527 | |
4.1% | - | |
7.1 | 0.0 | |
27 days ago | about 2 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
gltfjsx
Posts with mentions or reviews of gltfjsx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-05-03.
-
Implementing 3D Graphics in React
Creating geometric shapes is fun, but we can also create 3D models using applications like Blender, Maya, Sketchfab, and TurboSquid. In this section, we will run a 3D model using an already-created model from Sketchfab. We will use the GLTF file model. We will also use the GLTF pipeline, and GLTFJSX packages to convert the GLTF file to Draco GLTF and then to a React JSX file. To start first;
-
How can I get rid of these gaps?
Hello! I loaded a model using https://gltf.pmnd.rs and it displays correctly, but there are weird gaps that you can see through on the edges. This is a Next.js project with ts. I'm using @react-three/fiber and @rect-three/drei to use three.js in react. I'll attach the file that creates this object, but if there's anything more you need, just ask me. Here's the file that contains the code of this object:
-
React + Three.js. Creating your own 3D shooter. Part 1
Then we need to generate a react component that will contain the markup of this model to add it to the scene. Let's use the official resource from the @react-three/fiber developers.
-
Add texture to loaded glb, threejs
especially for what you describe above. it can lay out a glb model declaratively, the whole scene is yours to control. watch the first video here https://github.com/pmndrs/gltfjsx and then use that tool:
- Optimization checklist GLTF models in Three.js?
-
Any good tutorials on creating dynamic animations?
stuff like this doesn't have to be keyframed, you can just rotate model groups. im sure this will be overwhelming atm but if you have the time watch the video there https://github.com/pmndrs/gltfjsx models in threejs are blobs, they are not meant to do anything. people traverse them and create mutations. but that tool puts the entire model scene under your control, every node in its graph is declarative now, to my it dynamic is trivial at that point.
-
which skills to learn from Blender for three js
the second practically doesn't exist in vanilla three. a gltf is a blob that you throw into the scene. pair three with react and blender will be a lot more useful: https://github.com/pmndrs/gltfjsx (watch the first video there)
-
How to apply Mesh Wobble Material to gltf model in r3f?
I want to implement this for a gltf model loaded as a gltfx. MeshWobbleMaterial is not getting qpplied. i don't know what to where to add the component either. i have attached the code below,
-
Help making a model look like the demo
/* Auto-generated by: https://github.com/pmndrs/gltfjsx Command: npx [email protected] crystal_ball_test.glb Author: WarderiiK (https://sketchfab.com/WarderiiK) License: CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/) Source: https://sketchfab.com/3d-models/crystal-ball-test-fc727811052a4b2ba9ef2ffa327e8349 Title: Crystal Ball Test */ import React, { useRef } from 'react' import { useGLTF, useAnimations, MeshTransmissionMaterial } from '@react-three/drei' export default function Model(props) { const group = useRef() const { nodes, materials, animations } = useGLTF('/crystal_ball_test.glb') const { actions } = useAnimations(animations, group) return ( ) }
-
Where should I keep my assets?
Have you compressed your models with https://gltf.pmnd.rs ? ( sorry this is unrelated to your post ) or you could use https://github.com/pmndrs/gltfjsx ( same thing but you use it like an npm package )
use-sound
Posts with mentions or reviews of use-sound.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-22.
-
[Question]: Play sounds inside useEffect in a multiplayer online game
As some of you may know, sounds can only be played back after the user has interacted with the document. And this seems to be exactly where it is becoming tricky. I tried a very promising library called use-sound. However as it turns out it is currently impossible to trigger a sound effect on useEffect with this, as tracked in this issue: https://github.com/joshwcomeau/use-sound/issues/100. Somehow it works whenever the dev server hot reloads - and then it is really snappy, but I can't make it work on initial page load.
-
Building a Music Player in React
use-sound: This will handle the audio file. It will load, play, and pause the audio along with other features.
-
Chrome does not allow meadi autoplay since 2018 - but some websites are still able to do it. How?
However, after a lot of experimenting, I was able to play a sound in chrome when I explicitly enabled sound for our url in the chrome site settings, but only as long as the tab was in focus it would play. I was using this react library to do so: https://www.npmjs.com/package/use-sound you can find a proof of concept on the developers website: https://www.joshwcomeau.com/react/announcing-use-sound-react-hook/ if you scroll a bit down there will be a few things you can click that will trigger a sound - but all of them requires a browser event!
-
Best audio handling library for React in 2022?
use-sound
-
How to play sound on button click in Next.js app?
I found this use-sound package for react when I'm trying to import audio file I'm getting this error. Cannot find the .mp3 file.
-
How to reproduce Death Stranding UI with react and react-three-fiber
For the sounds part we’re going to create a sound manager component using useSound hook from Joshua Comeau. After that, we’re going to put our sound functions newly-created into our state so that we can everywhere in the app.
-
The Only React Hook for Sound Effects You Will Ever Need
sprite allows you to use a single useSound hook for multiple sound effects. See “Sprites” below.
What are some alternatives?
When comparing gltfjsx and use-sound you can also consider the following projects:
gltf-pipeline - Content pipeline tools for optimizing glTF assets. :globe_with_meridians:
howler.js - Javascript audio library for the modern web.
react-three-fiber - 🇨🇭 A React renderer for Three.js [Moved to: https://github.com/pmndrs/react-three-fiber]
drei - 🥉 useful helpers for react-three-fiber
leva - 🌋 React-first components GUI
awesome-react-three-fiber - 🍕 A loose collection of cool r3f links, gifs, people, stuff
react-sound - Sound component to play audio in your web apps
react-xr - 🤳 VR/AR with react-three-fiber
death-stranding-ui - Death Stranding UI made in React
gltfjsx vs gltf-pipeline
use-sound vs howler.js
gltfjsx vs react-three-fiber
use-sound vs gltf-pipeline
gltfjsx vs drei
use-sound vs react-three-fiber
gltfjsx vs leva
use-sound vs awesome-react-three-fiber
gltfjsx vs awesome-react-three-fiber
use-sound vs react-sound
gltfjsx vs react-xr
use-sound vs death-stranding-ui