scene.org File Archive

File download

<root>­/­parties­/­2025­/­vccc25­/­christmas_challenge/viri_jupiterace_forth_373b_vc3-2025.zip

File size:
913 279 bytes (891.87K)
File date:
2025-12-30 23:34:07
Download count:
all-time: 1

Preview

  • code.txt 409B
  • explanation_for_the_forth_code_.txt 1.21K
  • file_id.diz 1.05K
  • Screen Recording 2025-12-24 153103.mp4 14.34M
  • the_code.png 16.87K
  • the_result.png 14.71K
  • the_size.png 46.84K

file_id.diz

Ace Snowflake

Author: viri
Category: Christmas Challenge
System:   Jupiter Ace
Language: Jupiter Ace Forth
Len source code: 
Len exe file:    373
Len code only:
Instructions:
The program (code.txt) can be loaded by the SpudACE emulator. The code is presented in a simple text file, which can be loaded into the emulator by the File -> Load Spool File menu. This command will "type" all words into the emulator. When it's done, the program can be started by typing "p" (without the quotes!) and hitting ENTER.
Description:
The program draws the snowflake in four rounds. First the upper-right part, then the upper-left, then the lower-left and lower-right part is drawn. In each round two rotation variables are modified that control which quarter to drawn. The 4 axes are drawn by an iteration, but the coordinates of the end of the little petals are ...khmmm... hand-written in the code. I only started coding a few hours before the deadline, so no time for optimization...
Comments:
Next time I'll start earlier.
Merry Christmas for everyone!
Forth rulez!