A look block for 3d textured form

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

tuto de bob script pic(2)

but I don’t know much about JavaScript and I can’t find the code on the internet.
Does anyone have a suggestion?

Wait. This is the old text font of Scratch???

Hi have try to edit this block without javascript, but it's too slow for to use