Log In  


I've already posted this on the Discord and a couple other places, but, well, why not post it here too? Randomly generated snowflakes for the season.

Cart #snowflake_generator_3d-0 | 2022-12-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

12


Wow ! This is really pretty, @luchak ! I have always enjoyed the intricacy of snowflakes. Gold star.

You should totally take advantage of the 32-colors. I imagine there are several starting from black working their way up to white which will give your snowflake greater depth.


Thank you!

And good point about the palette - this sketch started life as an exercise for Tiny Code Christmas so I was mostly focused on trying to minimize its size (in particular, to get it under 256b compressed). While I did eventually get a 256b version, this one (at 281b) I think look noticeably better ... though it still takes a lot of shortcuts to minimize code size. It might be interesting at some point to optimize this cart for detail and aesthetics instead of for size!


Here now is a nice palette for BLUE to WHITE, @luchak:

cls()

pal(0,  0   ,1)
pal(1,128+ 1,1)
pal(2,     1,1)
pal(3,128+12,1)
pal(4,    12,1)
pal(5,     7,1)

for i=0,5 do
  rectfill(0,i*20,127,i*20+18,i)
end

repeat
  flip()
until forever

2

wow


1

that's so coooooool



[Please log in to post a comment]