Christmas Tree/Demo Thread (Post yours here)

Chat about anything CX16 related that doesn't fit elsewhere
TomXP411
Posts: 1781
Joined: Tue May 19, 2020 8:49 pm

Christmas Tree/Demo Thread (Post yours here)

Post by TomXP411 »


Let's all trade animated Christmas trees! Create a Christmas tree in your favorite programming language or 8-bit graphic format and paste it here...

I'll start with mine. I created this last year for the Commodore 64, but I really wanted a Commander version. So I'm back with Christmas Tree 2.0! 

 

Reply to this thread and attach your own BASIC tree or downloadable demo. Let's see how many different trees we can collect before the Big Day!

tree.bas

TomXP411
Posts: 1781
Joined: Tue May 19, 2020 8:49 pm

Christmas Tree/Demo Thread (Post yours here)

Post by TomXP411 »


Here's another Christmas demo, from the file section:

 


 

User avatar
Jestin
Posts: 85
Joined: Sat Jun 27, 2020 10:14 pm
Contact:

Christmas Tree/Demo Thread (Post yours here)

Post by Jestin »



On 12/20/2022 at 4:28 PM, TomXP411 said:




Here's another Christmas demo, from the file section:

 



 



Full transparency, this wasn't written in BASIC ?

TomXP411
Posts: 1781
Joined: Tue May 19, 2020 8:49 pm

Christmas Tree/Demo Thread (Post yours here)

Post by TomXP411 »



On 12/20/2022 at 5:29 PM, Jestin said:




Full transparency, this wasn't written in BASIC ?



That's fine.. .I just liked the idea of having a Christmas Demo thread... so I'll change the title.

 

User avatar
desertfish
Posts: 1095
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Christmas Tree/Demo Thread (Post yours here)

Post by desertfish »


We don't often have snow anymore in the Netherlands, so I made some artificial snow a little white ago.

If you run the attached program and are a little patient, you can see the snow pile up (in an interesting way)  ☃️ ?

 

image.png.9b54580cc7e03db562ee64c4c9423f4f.png

 
SNOW.PRG
User avatar
Jestin
Posts: 85
Joined: Sat Jun 27, 2020 10:14 pm
Contact:

Christmas Tree/Demo Thread (Post yours here)

Post by Jestin »



On 12/21/2022 at 5:30 AM, desertfish said:




We don't often have snow anymore in the Netherlands, so I made some artificial snow a little white ago.



If you're patient, you can see the snow pile up  ☃️



 







 



snow.prg 3.95 kB · 0 downloads



You should upload this to the Downloads page so those just browsing the site will see it.

Also...very cool demo!

neutrino
Posts: 182
Joined: Wed Oct 19, 2022 5:26 pm

Christmas Tree/Demo Thread (Post yours here)

Post by neutrino »


Must be acid snow when the text is eaten away ?

Now we just need the "Commander X16" in the middle getting all the snow piled on ?

 

User avatar
desertfish
Posts: 1095
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Christmas Tree/Demo Thread (Post yours here)

Post by desertfish »


Yeah actually that is a good idea, the algorithm triggers on specific pixel colors that the snow piles on so if I'd draw something in that color, the snow would not corrode it ?

User avatar
Jestin
Posts: 85
Joined: Sat Jun 27, 2020 10:14 pm
Contact:

Christmas Tree/Demo Thread (Post yours here)

Post by Jestin »


Could you just make the color the snow piles on be "not black"?  Then you could keep everything the same color it is.

neutrino
Posts: 182
Joined: Wed Oct 19, 2022 5:26 pm

Christmas Tree/Demo Thread (Post yours here)

Post by neutrino »


@Jestin It could just look discolored instead ? I think the code will actually have to "pile on" the pixels. Probably let the (white) pixel move Y-wise until it reaches another pixel which isn't black nor a snowflake. If so then leave the (white) pixel in place.

Anyone know how Commodore did ?

c-logo-christmas-scanlines.jpg

Post Reply