Josip Retro Bits | Large number of Patterns in a Single line of Code | Commodore 64 @JosipRetroBits | Uploaded September 2023 | Updated October 2024, 3 hours ago.
This is just a short Demo of a one-liner BASIC code that generates different patterns by drifting through PETSCII characters.
â If You like this video you can buy me a coffee: ko-fi.com/josipretrobits â
INDEX:
======
0:00 - Intro
0:15 - Algo 1.
5:50 - Algo 2.
9:32 - Algo 3.
10:50 - Algo 4.
CODES USED IN THE VIDEO:
=======================
Algo 1: 0 for a=1-a to 1+a step rnd(a)+.1:print chr$(174+a);:next:goto
Algo 2: 0 for a=1-a to 1+a step rnd(a)+.1:print chr$(190+a);:next:goto
Algo 3: 0 for a=5-a to 5+a step rnd(a)+.1:print chr$(160+a);:next:goto
Algo 4: 0 for a=5-a to 3+a step rnd(a)+.1:print chr$(160+a);:next:goto
CHECK OUT THESE CHANNELS:
==========================
8Bit Retro ReFix @8BitRetroReFix
Captain Commodore @CaptainCommodore
Retro4u @Retro4u
8bitsinthebasement @8bitsinthebasement
CHECK OUT MY OTHER COMMODORE/ACORN VIDEOS:
==========================================
đšī¸ Commodore 64 Programming: youtube.com/playlist?list=PLT0ijfj8mLN7G_Et0DGaVxcVK3N2EpnYk
đšī¸ Commodore 64 Hardware Videos: youtube.com/playlist?list=PLT0ijfj8mLN6JTkWianAanzEgLCaA0zFE
đšī¸ Commodore 64 Plus/4 Videos: youtube.com/playlist?list=PLT0ijfj8mLN7ioE3wBPYsu32V6Vs9goib
đšī¸ Acorn Electron Videos: youtube.com/playlist?list=PLT0ijfj8mLN5n1GNlJPZn3CW7o3hRf7Jv
đšī¸ Commodore 64 Games and Demos: youtube.com/playlist?list=PLT0ijfj8mLN6yuzbYo6MnQifgUEM08t83
đšī¸ The Pong Game Projects: youtube.com/playlist?list=PLT0ijfj8mLN6QqB1wxCWv7ERaw0fo44kB
#c64 #basic #patterns #one-liner #commodore basic, #commodore64, #programming #petsci #retrocomputing
This is just a short Demo of a one-liner BASIC code that generates different patterns by drifting through PETSCII characters.
â If You like this video you can buy me a coffee: ko-fi.com/josipretrobits â
INDEX:
======
0:00 - Intro
0:15 - Algo 1.
5:50 - Algo 2.
9:32 - Algo 3.
10:50 - Algo 4.
CODES USED IN THE VIDEO:
=======================
Algo 1: 0 for a=1-a to 1+a step rnd(a)+.1:print chr$(174+a);:next:goto
Algo 2: 0 for a=1-a to 1+a step rnd(a)+.1:print chr$(190+a);:next:goto
Algo 3: 0 for a=5-a to 5+a step rnd(a)+.1:print chr$(160+a);:next:goto
Algo 4: 0 for a=5-a to 3+a step rnd(a)+.1:print chr$(160+a);:next:goto
CHECK OUT THESE CHANNELS:
==========================
8Bit Retro ReFix @8BitRetroReFix
Captain Commodore @CaptainCommodore
Retro4u @Retro4u
8bitsinthebasement @8bitsinthebasement
CHECK OUT MY OTHER COMMODORE/ACORN VIDEOS:
==========================================
đšī¸ Commodore 64 Programming: youtube.com/playlist?list=PLT0ijfj8mLN7G_Et0DGaVxcVK3N2EpnYk
đšī¸ Commodore 64 Hardware Videos: youtube.com/playlist?list=PLT0ijfj8mLN6JTkWianAanzEgLCaA0zFE
đšī¸ Commodore 64 Plus/4 Videos: youtube.com/playlist?list=PLT0ijfj8mLN7ioE3wBPYsu32V6Vs9goib
đšī¸ Acorn Electron Videos: youtube.com/playlist?list=PLT0ijfj8mLN5n1GNlJPZn3CW7o3hRf7Jv
đšī¸ Commodore 64 Games and Demos: youtube.com/playlist?list=PLT0ijfj8mLN6yuzbYo6MnQifgUEM08t83
đšī¸ The Pong Game Projects: youtube.com/playlist?list=PLT0ijfj8mLN6QqB1wxCWv7ERaw0fo44kB
#c64 #basic #patterns #one-liner #commodore basic, #commodore64, #programming #petsci #retrocomputing