xxxxxxxxxx
var frames;
function preload(){
frames = loadAnimation('molecules0001.png', 'molecules0006.png');
}
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
}
function draw() {
background(255);
animation(frames, width/2, height/2)
}