PFont font; void setup() { size(360, 450); depth(); colorMode(RGB, 1); noFill(); setupPlot(); setupSimplex(); } int count = 0; void draw() { background(0.5, 0.53, 0.5); if (keyPressed && key == 'r') setupSimplex(); if (++count % 2 == 0) updateSimplex(); beginCamera(); { drawPlot(); drawAxis(); drawSimplex(); } endCamera(); }