Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let img
- function preLoad() {
- font = loadFont('../addons/Fonts/monof55')
- img = loadImage('./yes.jpg')
- }
- function setup() {
- createCanvas(1200, 600)
- background('darkblue')
- fill('#EEEEEE')
- stroke(25)
- strokeWeight(2)
- rect(0, height - height / 20, width, height / 20)
- }
- function draw() {
- image(img, 0, 0)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement