about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2022-12-16 15:03:21 -0500
committerelioat <elioat@tilde.institute>2022-12-16 15:03:21 -0500
commite1dd7c68f8e9250cb19d7d0d2eda172b5d2c590d (patch)
treedf4c5644d47aff3fe011d557dd63cf346ab6c3b1
parenta655fce537c9d88c1eceaa454c905928651fdfc7 (diff)
downloaddecember-2022-e1dd7c68f8e9250cb19d7d0d2eda172b5d2c590d.tar.gz
*
-rw-r--r--rnd/lua/04tcc.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/rnd/lua/04tcc.lua b/rnd/lua/04tcc.lua
new file mode 100644
index 0000000..b9dbed1
--- /dev/null
+++ b/rnd/lua/04tcc.lua
@@ -0,0 +1,11 @@
+-- tcc day 04
+
+function TIC()
+	t=time()/200
+	s=math.sin
+	for x=0,240 do 
+		for y=0,136 do
+			pix(x,y,s(x/16+t)+s(y/16+t)+t)
+		end 
+	end 
+end
\ No newline at end of file