I have a very simple code in Processing (it can be found in Visualizing Data by Ben Fry):
void setup() {
size(400,400);
stroke(225);
}
void draw(){
line(15,25,mouseX,mouseY);
}
void mousePressed(){
background(192,64,0);
}
But when I go to Files, Export, it creates a folder in my sketch folder named "macos-x86_64" and not the desired folder "applet" with the html file "index.html" as stated in the book (page 23). I want to open my sketches in a browser but I don't know why the html file is not being created.
Thanks for the help