Although I never use an IDE for writing or editing program code, 
the code for RogCAD looks really nice in the QB64 IDE -- with 
the multi-color format which the IDE generates, to my surprise.

Who would have thought that program code could look so enchanting.

QB64 is a recent discovery for me.  It converts BASIC code to 
C code, which runs much faster than BASIC code, and compiles 
it to an executable file.  To make that happen, my RogCAD code 
must be loaded into the QB64 IDE.

Even BASIC code might look high-tech, but this is definitely
low-tech (most of it).  The high-tech people design computers 
and operating systems.

The first part below, the calculator kernel which generates 
a floating image plane and projects an image onto it, might 
look complicated, but can hardly be called advanced math.

After the initial vector considerations, which themselves are
a quite simple thing, it's just algebra.  But the magic of 
algebra fascinates me, especially when it goes on at great 
length and the darn thing actually works.

An image of RogCAD output is at the bottom of the page.


Ten of the more colorful snippets (screenfulls) of RogCAD code
is shown in the IDE below.  It's 400 of the 8000 lines of code:


end of calculator kernel

Note that the automatic adjustment to the values for A, B and C,
as seen in the code below, does not introduce error into the 
generated object image.  The values for A, B and C, which are 
used to generate the floating image plane, are actually completely
arbitrary -- as anti-intuitive as that might seem.  The automatic
adjustment of those values is for the sake of preventing division
by zero as the CAD user moves the image plane about:













home