random stuff
This commit is contained in:
1 parent
45b3eb8ad5
commit
1675072561
6 files changed
+40
-4
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python3
|
||||
import time
|
||||
import termgraphics
|
||||
|
||||
#g = termgraphics.TermGraphics(mode = termgraphics.MODE_EASCII)
|
||||
g = termgraphics.TermGraphics()
|
||||
|
||||
g.clear()
|
||||
|
||||
for x in range(g.shape[0]):
|
||||
y = int(0.5 * g.shape[1] * ((2*x/g.shape[0]-1)**3 + 1))
|
||||
g.point((x,y))
|
||||
|
||||
g.draw()
|
||||
time.sleep(0.1)
|
||||
|
||||
Reference in new issue
Block a user