PShape
in
Programming Questions
•
4 months ago
taken straight from
Daniel Shiffmans PShape tutorial:
www.morishuz.com
www.videoreactive.com
www.electrovision-cinema.com
- PShape rectangle;
- void setup()
- {
- size(640,360,P2D);
- rectangle = createShape(RECT,-50,-25,100,50);
- }
- void draw()
- {
- background(51);
- translate(mouseX,mouseY);
- shape(rectangle);
- }
throws an error: "cannot convert from PShape to PShape"
did i miss something here?
www.morishuz.com
www.videoreactive.com
www.electrovision-cinema.com
1