Created
December 31, 2023 10:08
-
-
Save dtbao20/2c93a7cc5844cf3e3ad306e9d85d8451 to your computer and use it in GitHub Desktop.
3d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# convert from dwitter.net/d/26555 --By hoplite | |
from turtle import * | |
bgcolor("#000"), setup(500,500) | |
hideturtle(), tracer(0), penup() | |
getcanvas().winfo_toplevel().wm_attributes("-transparentcolor", "#000") | |
getcanvas().winfo_toplevel().attributes('-fullscreen', True) | |
from math import sin, cos | |
from time import perf_counter | |
w = 500 | |
def _Oneo_Kuu(): | |
update(), clear() | |
t = perf_counter() | |
for i in range(1,250): | |
u = t*99 | |
a = i+u-u%1 | |
X = sin(a)*w*59/(i*2-u%1)+(sin(a/w*3))*200 | |
Y = cos(a)*w*59/(i*2-u%1)+(sin(a/w*2))*100 | |
goto( X, Y ) | |
dot( w/i, (1,.5,0) ) | |
ontimer(_Oneo_Kuu, 0) | |
_Oneo_Kuu() | |
mainloop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment