scene.org File Archive

File download

<root>­/­parties­/­2023­/­vccc23­/­christmas-diamonds/stk_c128_basic_vc3-2023.zip

File size:
53 544 bytes (52.29K)
File date:
2024-01-03 14:15:18
Download count:
all-time: 6

Preview

  • stk_c128_basic_vc3-2023/ dir
  • stk_c128_basic_vc3-2023/68sinus 70B
  • stk_c128_basic_vc3-2023/68sinus_result_source.png 53.29K
  • stk_c128_basic_vc3-2023/68sinus_source.txt 92B
  • stk_c128_basic_vc3-2023/file_id.diz 581B

file_id.diz

68SINUS

Author:   STK
Category: Christmas Challenge
System:   C128
Language: Basic 7.0
Len source code: 92
Len exe file:    70
Len code only:   68
Instructions:
DLOAD"68SINUS"
RUN
Description:
As the pattern is perodic in x- and y-direction, two sinus functions are
used. A star is plotted if the absolute values of both functions give the
same result (instead of abs ^2 is used). Two compensate floating point
errors, both values are considered as equal if the absolute difference is
smaller than 0.1.
Comments:
Does also run on C16, C116, Plus4 (Basic 3.5).