Sit back and enjoy yourself as I show you a secret program that draws abstract art on your computer screen using the Agon Light 2 PLOT keyword!! github.com/learnagon/bbc-basi... #basicprogramming #computer #games
Пікірлер: 5
@s0ygecko13 күн бұрын
Ohhh! Now all seems so BASIC 😊
@archibaldbuttle714 күн бұрын
a big part of what's making this "abstract" is the fact that when you're sequentially going up through the PLOT codes you will be drawing (in sequence) things using the foreground colour, then inverting the on-screen pixels, and using the background colour. (it's actually a pattern of four, with the first entry in that pattern is a "move" command.) the "invert" plots help make things "abstract" - a pixel on-screen that's colour 0 will be turned into colour 63, colour 1 -> 62, colour 2 -> 61, etc. another way to go "abstract" using the Agon's PLOT system is to look into changing the painting mode. that's the first value given to the GCOL command, which your program currently is always setting to 0. it will actually accept values 0-7, where 0 sets on-screen pixels, but other values will do some interesting things.
@LearnAgon14 күн бұрын
I’m going to try this out next! Thanks
@VascoCosta13 күн бұрын
Nice way to kill boredom. This is truly abstract art. Now imagine there's a randomly generated drawing that you really like and would like to reproduce. How would you change the code to allow reproducible abstract art? You'd need to take note of each random number generated per cycle. Or, ideally, you could try to have a common seed to initiate the random number generator, which I don't know if it is possible in BBC BASIC.
@LearnAgon13 күн бұрын
This sounds like a very good idea! Will see if I can display the values inside of a text viewport