Skip to content

Instantly share code, notes, and snippets.

@ddemark
ddemark / BezierCurveExample.pde
Created May 15, 2019 02:41
BezierCurveExample
OtherMonster monster;
void setup() {
size(640, 360);
monster = new OtherMonster();
}
void draw() {
background(#FFFFFF);
@ddemark
ddemark / BoundingBox.pde
Created May 1, 2019 04:42
Processing Code
// 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;