React JS changing words in spherical word cloud

https://codesandbox.io/s/basic-demo-forked-yup2o?file=/src/App.js I have the above sandbox of a spherical word cloud consisting of random words – I’m trying to modify the code so rather than random …

ThreeJS Match GLTF Model To Size Of Bounding Box

I want to scale the imported GLB Model to the same size a cube in my scene. It is needed to make sure that the model stays inside the shadow casting areas and is big enough to make the shadows visible….

Three.js Materials are reversed depending on direction of view

I am using Three.js to model a home. The idea is that I can show the home to an architect and discuss it further. The project is supposed to be walkable, so I put together it all on this site. If you …

Using an Object’s postion for an Event in AFrame

I’m trying to make a component that checks the current position of a sphere in an AFrame scene and when it hits a specific coordinate and when it does it fires an event (In example below it resets it …

Three.JS: Move 3D cube with accelerometer data over x an y-axis

Following my previous post I am developing a 3D model that moves based on input from accelerometer and gyroscope sensors. The 3D model is written with three.js, and the input data for rotation and …

Use three.js in google web app script – not able to use the script module type to load three.js

I would like to use three.js in the google web script to load 3D CAD file, while in the installation instruction on threejs.org it explains the script need to be “module” type. At the same …

(Three.JS) How to loop/lerp through more than two colors (three colors)?

I’m working on a project in the Three.JS Online Editor. I’m trying to make a Day / Night Cycle. It should loop through colors, setting the scene background colors, like this: Day Sunrise/Sunset Night …

my friend and I have a problem in js and html, we cannot make a 3d model out of a button

(sry for bad eng, we are from Moskow and we are stupid D) We have a problem, so to speak: quation. I with my bro write sam any code on HTMl, JS. and we must make 3d model wiht interactive button, …

only part of gltf model appearing using three.js

I have been trying to add this gltf model ( https://poly.google.com/view/28RBIWE8jzc ) using threeJS’. The code below is the only way that I have been able to see anything and I only see a small part …

Three.js – Model cannot receive any shadow

I’m currently new and learning about three.js. And i’m using react-three-fiber to make it happen with React, but i stumbled upon a problem. The model however, cannot receive any shadow from another …