Skip to content

Instantly share code, notes, and snippets.

ddemark / BezierCurveExample.pde
Created May 15, 2019 02:41
View BezierCurveExample.pde
OtherMonster monster;
void setup() {
size(640, 360);
monster = new OtherMonster();
void draw() {
ddemark / BoundingBox.pde
Created May 1, 2019 04:42
Processing Code
View BoundingBox.pde
// think of bounding boxes as a literal box
// this box stores an objects dimensions (x, y, width height) which will be used later for collision detection
class BoundingBox {
float left;
float right;
float top;
float bottom;
float width;
float height;