Advertisement
AlioNiroti

Untitled

Jan 20th, 2021
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. from processing import *
  2.  
  3. baseY = 850
  4. baseX = 650
  5.  
  6. def setup():
  7. size(baseY, baseX)
  8. fond()
  9. menu = createFont("Courier New",1)
  10. textFont(menu)
  11.  
  12. def draw():
  13. fill(255,255,255)
  14. rect(50,500,752,100)
  15. fill(255,255,255)
  16. rect(50,436,170,62.5)
  17. fill(255,255,255)
  18. rect(350,436,170,62.5)
  19. fill(255,255,255)
  20. rect(632,436,170,62.5)
  21. fill(255,255,255)
  22. rect(632,92,170,342)
  23. fill(255,255,255)
  24. rect(50,92,170,342)
  25. fill(255,255,255)
  26. rect(350,92,170,342)
  27. fill(0,0,0)
  28. textSize(90)
  29. text("RETOUR",275,580)
  30. fill(255,255,255)
  31. textSize(90)
  32. text("BOUTIQUE",225,65)
  33. fill(255,211,44)
  34. textSize(70)
  35. text("10",92,490)
  36. fill(255,211,44)
  37. textSize(70)
  38. text("20",395,490)
  39. fill(255,211,44)
  40. textSize(70)
  41. text("30",680,490)
  42.  
  43. def fond():
  44. global myImage
  45. myImage = loadImage("https://zupimages.net/up/21/03/dcnk.png")
  46. image(myImage, 0, 0, myImage.width,myImage.height)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement