Advertisement
chrisCNG

PixelArtScript

Oct 20th, 2020
2,186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var penColour = "black";
  2.  
  3. function setPixelColour(pixel)
  4. {
  5.   pixel.style.backgroundColor = penColour;
  6. }
  7.  
  8. function setPenColour(pen)
  9. {
  10.   penColour = pen;
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement