This is a port of Kurt Moerman's "Thomas Attactor" QB64pe program ' which he shared with the "BASIC Programming Language" Facebook group ' via this post.
Read about the "Thomas' cyclically symmetric attractor" in this Wikipedia article.
This is a port of Kurt Moerman's "Thomas Attactor" QB64pe program ' which he shared with the "BASIC Programming Language" Facebook group ' via this post.
Read about the "Thomas' cyclically symmetric attractor" in this Wikipedia article.
This program is a port and mod of Kurt Moerman's QB64pe program shared with the "BASIC Programming Language" Facebook group via this post.
About "attractors" (from Wikipedia):
In the mathematical field of dynamical systems, an attractor is a set of states toward which a system tends to evolve, for a wide variety of starting conditions of the system. System values that get close enough to the attractor values remain close even if slightly disturbed.
I've modified the program so that 10 seconds after the graph is generated, the screen is cleared and the graph is re-generated with many randomly altered parameters. (The first graph generated is as per Kurt's QB64pe program.)
My port and mod:
EDIT: I had a little bug in the program causing part of the "blue area" of the graph getting painted black because of an out of bound RGB color component. So I've added the following highlighted line to the updated version of the program:
ccc = 110 + z * 150ccc = MAX( MIN( ccc, 255 ), 0 )COLOR _RGB( ccc, ccc, 255 - ccc )
This "Klein Bottle" program is a port and mod of a QBJS program by "Vince" which was shared with the QB64pe community via this post. (Vince's source code is presented in an embedded QBJS IDE, so you can also run the program "right there".)
Read about the "Klein Bottle" in this Wikipedia article.
You can zoom in/out of the image using the scroll wheel on a mouse.
This BAM version of the program adds color to the image and uses very tiny circles instead of points (at the intersections of lines in the wireframe.)
This program is a port and mod of a QB64 program by Kurt Moerman, shared with the "BASIC Programming Language" Facebook group (https://www.facebook.com/share/p/1BnaiB8Q67/).
Every 5 seconds, the graph will be regenerated with random parameters.
Do I ever enjoy investigating/prototyping something that answers the thought (usually from way out in left field): "how would I do this/that in BASIC ?
The question: how would I program a rolling clock? (A "smooth rolling" clock.)
Well, since I couldn't commit to the full guacamole, I decided to not do the "smooth" bit right away. Instead, I decided to get the bits I think I'll need for "smooth", while just aiming for a working "choppy" prototype.
This program is a port and mod of a QBJS program by (correction! bplus) dbox shared with the QB64pe community via this post. bplus' program is z port and mod of a SPECBAS program by ZXDunny.
The program's screen will, upon program startup, adjust its size/dimensions to fit the size and dimensions of the browser window. At any time, resize your browser window and hit the browser's refresh button to cause the program to restart with new dimensions.
Once graphic-generation is done, the program pauses for about ten seconds before clearing the screen and generating a new diagram. You will know the program is pausing before clearing the screen when you hear some slow ticking sounds.
This is a mod of a program Richard Keijzer wrote in TRS-80 Level II BASIC (44 years ago) and recently shared with the BASIC Programming Language Facebook group.
As per usual, I like to port (well, there wasn't any "porting" to do with this program) old-school BASIC programs, and then mod them with some color and animation, and other small enhancements (things I wish existed in BASIC dialects of the early 80's.
This is a port of Kurt Moerman's "Thomas Attactor" QB64pe program ' which he shared with the "BASIC Programming Langu...