ulvis.paste.net

Paste Search Dynamic
Recent pastes
Random Shape Generator
  1. from shapes import Triangle, Rectangle, Oval
  2.  
  3. from random import randint
  4. tri=Triangle(randint(10,200),randint(10,200),randint(10,200),randint(10,200),randint(10,200),randint(10,200),color="black")
  5. tri.randomize()
  6. tri.draw()
  7.  
  8. tri=Triangle(randint(10,200),randint(10,200),randint(10,200),randint(10,200),randint(10,200),randint(10,200),color="black")
  9. tri.randomize()
  10. tri.draw()
  11.  
  12. rec=Rectangle()
  13. rec.randomize()
  14. rec.draw()
  15.  
  16. rec=Rectangle()
  17. rec.randomize()
  18. rec.draw()
  19.  
  20.  
  21. oval=Oval()
  22.  
Parsed in 0.004 seconds