SHARE
TWEET

Untitled

a guest Jun 25th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let img
  2.  
  3. function preLoad() {
  4.   font = loadFont('../addons/Fonts/monof55')
  5.   img = loadImage('./yes.jpg')
  6. }
  7.  
  8. function setup() {
  9.   createCanvas(1200, 600)
  10.   background('darkblue')
  11.  
  12.   fill('#EEEEEE')
  13.   stroke(25)
  14.   strokeWeight(2)
  15.   rect(0, height - height / 20, width, height / 20)
  16. }
  17.  
  18. function draw() {
  19.   image(img, 0, 0)
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top