xxxxxxxxxx
36
//Materials for Broken memories workshop by EL Putnam
//photos
let base;
let kegsCU;
let stones;
let kegsMid;
let trad;
//other variables
let alp1 = 0;
let alp2 = 100;
//preload images
function preload(){
base = loadImage('assets/KegTrad_base2.png');
kegsCU = loadImage('assets/KegTrad_kegsCU2.png');
stones = loadImage('assets/KegTrad_stones2.png');
kegsMid = loadImage('assets/KegTrad_kegsMid2.png');
trad = loadImage('assets/KegTrad_trad.png');
}
//setup loop runs once
function setup() {
createCanvas(base.width, base.height);
colorMode(HSB, 360, 100, 100, 100);
background(0);
frameRate(5);
rectMode(CENTER);
}
//draw loop runs repeatedly
function draw() {
background(0);
}