summaryrefslogtreecommitdiffstats
path: root/kturtle/data/randomname.logo
diff options
context:
space:
mode:
Diffstat (limited to 'kturtle/data/randomname.logo')
-rw-r--r--kturtle/data/randomname.logo18
1 files changed, 18 insertions, 0 deletions
diff --git a/kturtle/data/randomname.logo b/kturtle/data/randomname.logo
new file mode 100644
index 00000000..db6b9e1e
--- /dev/null
+++ b/kturtle/data/randomname.logo
@@ -0,0 +1,18 @@
+# prints your name at random
+
+reset
+canvassize 255,255
+hide
+
+name = inputwindow "What's your name?"
+
+repeat 50 [
+ x = random 0, 255
+ y = random 0, 255
+ s = random 10, 51
+
+ go x, y
+ fontsize s
+ pencolor x,y,s*5
+ print name
+] \ No newline at end of file