aboutsummaryrefslogtreecommitdiffstats
path: root/initrd/init
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-02-27 23:55:46 -0500
committerClyne Sullivan <tullivan99@gmail.com>2018-02-27 23:55:46 -0500
commit4614429f5751e14e37ceedb7130b7a829c89476a (patch)
tree42fdfab4b64c3f71b5e13c537b1d0de7538278ca /initrd/init
parent9f61013faf98f8909e0853954218ec10c3b3c6fb (diff)
cleaner main, random nums, perfect script run
Diffstat (limited to 'initrd/init')
-rw-r--r--initrd/init39
1 files changed, 9 insertions, 30 deletions
diff --git a/initrd/init b/initrd/init
index 694c151..9f6a9cf 100644
--- a/initrd/init
+++ b/initrd/init
@@ -1,33 +1,12 @@
-print "Hello."
-
-set fg 32767
-
-# draw bg, lines
-rect 50 50 380 220 6375
-line 50 160 430 160 fg
-line 240 50 240 270 fg
-
-set x 50
-do
- line x 170 x 150 fg
- set x (x + 20)
-while (x < 430)
-
-set y 50
do
- line 230 y 250 y fg
- set y (y + 20)
-while (y < 270)
+ rand 479 > x
+ rand 319 > y
+ rand 479 > i
+ rand 319 > j
+ rand 32767 > purple
+
+ line x y i j purple
+while (1)
-#line 80 250 380 90 511
-set purple 511
-do
- rand 219 > x
- rand 379 > y
- rand 219 > i
- rand 379 > j
+print "done"
- line (x + 50) (y + 50) (i + 50) (j + 50) purple
- delay 1000
- set purple (purple + 11)
-while (1)