p5.js-editor icon indicating copy to clipboard operation
p5.js-editor copied to clipboard

editor crashes when rotating on Y or Z axis

Open orgicus opened this issue 10 years ago • 1 comments

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 :/)

orgicus avatar Oct 30 '15 16:10 orgicus

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

CatherineWeird avatar Jan 30 '16 02:01 CatherineWeird