Skip to content Skip to sidebar Skip to footer
Showing posts with the label 2d

How To Do This Coordinate System Operation More Efficiently?

I'm making a 3D game, where the player's back should always be facing the camera and he sho… Read more How To Do This Coordinate System Operation More Efficiently?

Flipping An Array Of Points As A Shape Around Its Center Vertically Or Horizontally

I have a web app that receives some array of points and I need to draw them on a canvas. Unfortunat… Read more Flipping An Array Of Points As A Shape Around Its Center Vertically Or Horizontally

Rotate Rectangle Around A Point

How would I get 4 points rotated a certain degrees around a pointer to form a rectangle? I can rota… Read more Rotate Rectangle Around A Point