I try to make a block to texturize shapes in 3d with the help of JavaScript, I made the base: 4 points (x and y) for the 4 ends of the costume
but I don’t know much about JavaScript and I can’t find the code on the internet.
Does anyone have a suggestion?