Wugi's
QBasics
2019 version
Parent
page: http://www.wugi.be/qbasics.htm
or its
mirror:
http://home.scarlet.be/wugi/qbasics.htm
This info notice accompanies the zip-file
with my programs in
QB64 *.bas code.
For more info see the parent page above.
MEET QB64
QBasic does not work
any longer on its
own in a Windows environment.
Instead there is now a
Windows-compatible version: QB64. Its portal site
with download
facilities is here: https://www.portal.qb64.org/.
Simply
install the software.
A *.bas program
opened in QB64 can be
run immediately. QB64 will then create an *.exe
file (in its own
directory), and run it. Afterwards the *.exe can also be run
on its own.
It is worth reminding that a QB64
editing or output window can be brought to Full
Screen by pushing the keys
ALT+ENTER. Using them repeatedly lets you cycle
through the modes
Window => Full
Screen => Full
Screen interlaced => Full Screen
proportional* =>
Full Screen proportional interlaced
=> Window
* proportional = centered and with the proportion
of a DOS screen (640x480, or 3x2), so that circles and squares get
well-proportioned.
The zip file this
notice comes
with contains
adapted QB64 *.bas versions of the
programs discussed on the parent page, see above.
In many programs the adaptation consists of, or
includes, slowing down execution speed to get a
smooth animation.
Look for a (nested) loop "FOR
dum = 0 TO 10000 :
(FOR dum2 = 0 TO NNN : NEXT dum2 :) NEXT dum" and adapt the limits if too
slow or fast...
Another zip file
with VB (VisualBasic)
versions of some of these programs is also available at the parent
page, or here
or here
for that matter.
I have also uploaded the *.bas files and the *exe
files into Google Drive. Here are the links for the
*.bas
directory and the *.exe
directory (~75 MB).
If you prefer individual
links, click on the corresponding *.bas filenames
listed below. I've also included the VB and Excel
files in the *.exe
directory.
QB64 files (*.bas) included:
Physics
EarthSun
Aardezon
Rendering of celestial sphere as seen on earth, and of sun paths
thereon
Botsing
Collisions between two particles (elastic thru
absorption)
Relaty
Relateit
Quick course on Special relativity, from a geometric approach, with
moving display.
See examples at my QB SRT page here
or here
("qbRelaty")
and notes at my SRT page here
or here
("paratwin").
Ditto for the following programs.
RelaSee
Seeing relativistic objects at work is another step beyond the Lorentz
transformation ! (given finite light speed).
LiteClok
LichKlok
Light clocks as building blocks of spacetime.
See examples and notes at paratwin (#My SRT)
VB version also available at parent page, and here.
Twinty
A Twin Paradox simulator, Relaty- or Lorentz
flavoured.
See examples and notes at paratwin (#Twinty and
Twinsee)
TwinSee
A Twin Paradox simulator, RelaSee- or Einstein
flavoured.
See examples and notes at paratwin (#Twinty and
Twinsee)
Twintest.Twinrev3
A Minkovsky description in the frame(s) of the traveler twin.
See at paratwin (#TwinRev) ; velocity (v/c)
controls "+","-", end=Space
Twintest.Twintest
Showing the aging process of the twins.
See at paratwin (#TwinRev) ; velocity (v/c)
controls "+","-", end=Space
Maths
Complex
Compleks
2D rendering of 4D objects representing complex functions
Y=F(X)
see at my QB Complex Functions page here
or here
("qbComplex")
Rationa
Rationaa
A distinction between rational and irrational numbers, as angles on a
circle
RandDist
RandVerd
Illustrating the difference between apparent and real random
distributions
Planet
Planeet
A planet trajectory of sorts, as a kind of fractal
generator
Growth
Various Growth progs.
Growth:
by moss-like ramification.
_SloGro:
slow growth by attachment to a
germ.
_ImpaGro:
growth by impact upon a germ.
_MigGro:
growth by migration of a germ.
_QuiGro:
Quick growth of a germ.
Smoothe
Smoothe out an N-polyline.
CelAuto
Tentative cellular automata.
CircFrac
Fractals from an initial figure (circle, square, triangle,...), with
three branches, a contraction factor and a scale factor for the figure.
Sierpinsky sieve: see parms in menu.
Ani-mate
Worm_e
Worm_nl
Metamorphoses of a little worm.
Worms_e
Worms_nl
A world of two worms.
FracSpir_e
FracSpir_nl
Spirals of Brownian line arms whirling fractally beneath each other
VB- version available separately at parent page
above, and here.
RotShrink
RotKrimp
Variations on a spiralling bunch of interhunting
hounds
Mondriaa
Sondriaa
Mondriaa: Mondriaanish paintings.
Sondriaa: acoustic
Mondriaans.
Tapijt
(Test version)
your own tapistry design.
Test version derived from a PB (Powerbasic)
version, with some variable
features dropped or stripped down for it to function more or less in QB64.
The "working" version is a VB (VisualBasic)
program, available at the
parent page mentioned above, and here.
Sterren
All them little stars sprinkled and moving on ya screen.
BasiClok
A Basic Watch ;-)
VB version also available at parent page and here.
Obj-Rot
An object rotator, around a fixed axis.
WavePack
Attempt at showing wave packets through varying sample width and two
wavelengths combined.
A-Game
Kubo
A game to kick off from previous.
Have a feel at the Excel
test version, unfinished
alas, available at
parent page :-o)
Sudoku
A sudoku-solver.
Only Excel version
available at
parent page. Offers also hints and a
"library" tab.