processing / p5.js-editor

Deprecated desktop editor for p5.js
https://p5js.org
MIT License
338 stars 91 forks source link

editor crashes when rotating on Y or Z axis #187

Open orgicus opened 8 years ago

orgicus commented 8 years ago

Here's the basic code I ran to crash the editor:

function setup() {
  createCanvas(windowWidth, windowHeight, WEBGL);
}

function draw() {
  background(0);
  translate(width * .5, height * .5,0);
  rotateY(frameCount * .1);
  box(100);
}

rotateX seems more stable for some reason. Also, the crashes are consistent when launching the editor the typical way, but not always when launching the editor from command line (I tried to figure out if there's any helpful console output I can provide, but didn't find anything useful so far :/)

CatherineWeird commented 8 years ago

I just tested this in P5 Editor 0.5.7 on Mac OSX 10.11.1 Triec rotateX,rotateY and rotateZ all work fine.