From e1dd7c68f8e9250cb19d7d0d2eda172b5d2c590d Mon Sep 17 00:00:00 2001 From: elioat Date: Fri, 16 Dec 2022 15:03:21 -0500 Subject: * --- rnd/lua/04tcc.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rnd/lua/04tcc.lua (limited to 'rnd') 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 -- cgit 1.4.1-2-gfad0