Post

I've implemented a lot of dumb, poorly thought out code but this little "wall painter" cursor feels like the stupidest thing I've made in a while it just feels silly. its like, walking around. like a thwomp im not going to keep it, but maybe it can sit in an unused corner of the code if it behaves

0 reposts1 like

it might be nice for punching out holes in walls though maybe? I'd only want it to stick to existing walls I think then. choices choices.

the code just came to me, in a vision. or maybe a nightmare ``` position.rotateAround(new three.Vector2(), Math.PI * 0.25) position.multiplyScalar(Math.sqrt(2)); position.round() position.multiplyScalar(1/Math.sqrt(2)); position.rotateAround(new three.Vector2(), Math.PI * -0.25) ```