This sample program shows how to use DRAW to create ellipses (I like to call this a "spirographing" approach.
The program generates (in an animated way) a new circle every 2 seconds with a new random color palette of between 2 and 62 colors.
This sample program shows how to use DRAW to create ellipses (I like to call this a "spirographing" approach.
The program generates (in an animated way) a new circle every 2 seconds with a new random color palette of between 2 and 62 colors.
This program is inspired by a little programming challenge by ZXDunny.
I wasn't in the mood to deal with math formulas, which would have made my program much more compact. So I stuck with simple/mindless programming.
The program displays the image with new random colors every four seconds or so, and uses a little bit of very simple animation as the colors get changed.
This small program, based on an MSX program by VampierMSX (found đ here on YouTube) demonstrates very simplistic character-based graphics animation.
This program is a port and mod of Steve Justice's program presented in the "Fractals in Focus" article found in the May 1985 issue of 80micro magazine. (Available via đ this Internet Archive link.)
Find all links for the BAM program after this foreword blurb.
One of my primary goals for BASIC Anywhere Machine: the ability to, without too much effort and too many headaches, bring to life some old BASIC programs from the 70's and 80's.
What's the point in being able to run those programs if you can't share them easily? And there is another primary goal for BASIC Anywhere Machine: the ability to share such programs in a single and small HTML file, fully self-contained (I.e. no dependencies) and with a sole requirement of a modern Web browser (operating system agnostic, device agnostic) that doesn't even need to be connected to the web once that HTML file is on some local storage device.
I am a "tweaker" at heart (with BASIC programs the same as with food recipes.) One of the things I really like about BASIC Anywhere Machine versus running these classic BASIC programs on old hardware or emulators of old hardware: I can easily get one of these old programs working in BAM (all of the smart original code left as-is! GOTO's and all !), and then easily intertwingle the original code with some modern code that gives the old programs some snazzy new twists.
I've made the following modifications to Steve's program:
For some reason, a direct link to the documentation page does not work when shared on some forums/dites (Facebook, for example), so access that documentation via this đ this link which seems to work fine in Blogger.
I suspect some forums/sites do not shared links that have certain characters in URL query parameters.
The link will show the following in a new tab/window:
Try it out the feature in the development version of BAM.
The buttons will wrap currently selected code with lines of code related to the code block.
If there isn't any code selected, then the current line (where the text cursor is located) will be wrapped by the lines of code related to the code block.
Nothing fancy, just functional.
This sample program shows how to use DRAW to create ellipses (I like to call this a "spirographing" approach. The program generate...