Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-3 votes
1 answer
46 views

I need help on why my three.js code isn't working [closed]

I want to learn three.js and tried following the getting started code on the three.js documentation, but the scene isn't rendering, and I am completely stumped. index.html: <!DOCTYPE html> <...
Joshua's user avatar
  • 1
0 votes
1 answer
33 views

Cannot open a gtlf file on html using three js

I am looking to open a 3D image I downloaded from Sketchfab and make it interactive and clicakble using three js. I have followed the instructions by ChatGPT, so I have all the scrypts I need in the ...
RuoHan Liu's user avatar
0 votes
0 answers
17 views

Three.js: How to prevent flickering, which occurs when page restarts. (White flashing)

On my discover flickering occurs when page “off”. Effect act during 1-2ms in canvas. Moreover this problem may occur or not occur in any canvas blocks on page. I tested more variants of solution this ...
AlexGroz's user avatar
0 votes
0 answers
18 views

Is there a function in three.js where i can close the gaps between the blocks

function animate() { requestAnimationFrame(animate); if (controls.isLocked === true) { const time = performance.now(); const delta = (time - prevTime) / 1000; ...
Binex biju Samuel's user avatar
0 votes
0 answers
47 views

3D object rotation based on tensorflow handpose landmarks

So I am currently working on a project that is using @tensorflow-models/handpose to detect hand landmarks and then I am matching the x and y of the landmark 0 to a 3d model. However. I am using info ...
sanoful's user avatar
0 votes
1 answer
28 views

Scrolling on div does not work after applying transformation (Matrix3d)

The problem is that when you try to scroll the #content div, it does not work. Scrolling with the scrollbar works, however: <!DOCTYPE html> <html lang="en"> <head> <...
Hanz Geiger's user avatar
0 votes
1 answer
85 views

Threejs splited torus is showing black dotted

my goal is to split the shape e.g. like a torus but it could be a circle triangle etc. I want to split the shape by using a custom plane. Once the torus is split-into two parts both parts need to be ...
Tranquillity's user avatar
0 votes
0 answers
46 views

HTML 5 Canvas Animation messed up while changing resolution and not working on mobile

This is my canvas code, it's just a simple circle animation with some mousemove effect, but when i try to change my resolution it will make it bigger and messy. Also not working on mobile. IT usually ...
Hamza Ashraf's user avatar
3 votes
1 answer
224 views

My glb file is not loading into my three.js file

My glb file wont show up inside my thee.js world. I have followed all the documentations and tutorals but nothing works. the world loads and evry thing works fine its just that the moddle dose not ...
Blaze Branham's user avatar
1 vote
1 answer
116 views

Can I develop a WebXR with ARCore API for IOS?

I have the following code below that works perfectly on android devices, but when I try to run on an IOS device, nothing happens when I click the button to start the ar session.I tried to get help ...
João Pedro S. Fernandes's user avatar
0 votes
0 answers
48 views

Why can't I load .gltf model in WebXR Ar Core base example?

I followed this Google's tutorial: https://developers.google.com/ar/develop/webxr/hello-webxr?hl=pt-br and successfully made a scene that recgonizes planes in real world, displays a reticle above it ...
João Pedro S. Fernandes's user avatar
0 votes
1 answer
26 views

Difficulty in synchronizing scrolling between a canvas with and the rest of the page content

I'm currently working on a project that involves a Three.js canvas with OrbitControls for interactive 3D visualization. However, I'm facing difficulty in synchronizing scrolling between the Three.js ...
Diced Mango's user avatar
0 votes
0 answers
31 views

How do I pause an ongoing TWEEN without it skipping to final position when resumed?

So to make it short I am trying to make visualization of sorting algorithms using html , CSS , JS (additional libraries- [three.js] for rendering the objects and [tween.js] for animating those objects)...
sam_xp's user avatar
  • 1
0 votes
1 answer
61 views

How to ensure the background texture joins up smoothly around sphere in Three.js?

Below is the bit of the code which sets the texture and maps it onto a large sphere. I have tried all sorts of wrapping but the background is still not smooth as there is a clear joining where the two ...
Hamza Asim's user avatar
0 votes
1 answer
108 views

GLB file not loading in three.js

My glb file wont show up inside my thee.js world. I have followed all the documentations and tutorals but nothing works. the world loads and evry thing works fine its just that the moddle dose not ...
Blaze Branham's user avatar

15 30 50 per page
1
2 3 4 5
61