[actionscript] for apriellllllllll

Viewer

copydownloadembedprintName: for apriellllllllll
  1. import math
  2.  
  3. from turtle import *
  4.  
  5. def heart(k):
  6.  
  7. return 15*math.sin(k)**3
  8.  
  9. def heart1(k):
  10.  
  11. return 12*math.cos(k)-5*\
  12.  
  13. math.cos(2*k)-2*\
  14.  
  15. math.cos(3*k)-\
  16.  
  17. math.cos(4*k)
  18.  
  19. speed(1000)
  20.  
  21. bgcolor('black')
  22.  
  23. for i in range(6000):
  24.  
  25. goto(heart(i)*20,heart1(i)*20)
  26.  
  27. for j in range(5):
  28.  
  29. color('pink')
  30.  
  31. done()

Editor

You can edit this paste and save as new:


File Description
  • for apriellllllllll
  • Paste Code
  • 28 Feb-2024
  • 327 Bytes
You can Share it: