Three.js library and webGPU

Hello everyone, I’m new to the world of development and I’m getting into the world of APIs. I discovered webGPU as well as the Three.js library, however I do not understand how to use this library with webgpu, I looked on many forum and site, many proposes manipulations but none works. if someone can help me please.

Hi skeidy,

first of all welcome.
There are many examples in three.js

and there are now also many about WebGPU.
Since I don’t know your level of knowledge when it comes to 3D, I don’t have a reference point where it would make sense to explain something.

Since I do a lot myself, actually everything, with shaders glsl/wgsl in three.js on a lower level, I may not be the right one to show you a direction.

Here is a codePen with the absolute minimum to see something on the screen.

Thank you very much for your help, this method works for me.