KeyJ's Gee-Whiz Weave Pattern
Author: KeyJ / TRBL
Category: Christmas Challenge 2023
System: IBM PC or compatible
Language: GW-BASIC
Len source code: 79 bytes (ASCII source code)
Len exe file: n/a
Len code only: 71 bytes (GW-BASIC tokenized format)
Instructions:
- get GWBASIC.EXE if you haven't got it (Google is your friend!)
- get a DOS emulator (DOSBox, PCem, whatever)
- run GW-BASIC and LOAD"VC3KJ_GW.BAS", or run it via the command line:
> gwbasic vc3kj_gw
- the ASCII version should also run in QBasic
- alternatively, use PC-BASIC:
https://robhagemans.github.io/pcbasic/download.html
- on a system with Python 3 and PIP installed:
$ pip3 install pcbasic
$ python3 -m pcbasic vc3kj_gw
- on Ubuntu Linux systems:
$ sudo apt install python3-pcbasic
$ pcbasic vc3kj_gw.bas
Description:
Uses a simple parametric formula: X and Y in, character out.
Comments:
Same approach as with my Python implementation, except it uses a different
range for x so the results never become negative.
Note that the screenshots have been generated with "KEY OFF:SCREEN 1" for nicer
presentation.