I'm working on a fairly simple project using the extrusion code, and using Processing.js to put it on the web.
Here's the address (though I wouldn't recommend going to it, because it makes my browser freeze up):
asciifriends.com/playinwdan2.html
No idea why this would be moving so slowly and eating up so much processing power (or whatever).
Any ideas, my wonderful nerds?
Here is my code:
/* @pjs preload="4wD4N.jpg"; */
PImage extrude;
int[][] values;
float angle = 0;
void setup()
{
size(640, 500, P3D);
// Load the image into a new array
extrude = loadImage("4wD4N.jpg");
extrude.loadPixels();
values = new int[extrude.width+25][extrude.height+25];