In the spirit of the holidays I’ve accidentally created something that resembles a diagonal Christmas tree. Obviously I love Christmas trees, the most festive of the coniferous family and I thought it fitting that I share this here. Enjoy!
This was made with the PICO8 Fantasy Console, something I’ve been addicted to experimenting with for the past couple of weeks. Here’s the code to replicate:
cls()::s::z=rnd(64)t=rnd(16)
x=32+(sin(time())*16)%z
y=32+(cos(time())*16)%z
xx=(flr(sin))
yy=(flr(cos))
for i=0,8 do
line(xx+x,yy+y,z,z,11)
circ(xx+x,yy+y,2,t,t)
end
flip()
goto s
Hope the holiday season goes well for you 🙂