Search This Blog

Friday, October 23, 2026

Using AI to Build What You Imagined.

Creativity can be expressed in many ways.  One of my early creative efforts was to write computer programs using QuickBasic on IBM PC clones running Microsoft's DOS. To me writing and running executable code is much like designing and then making a piece of furniture. You start with an idea, then work through the steps to build that idea. 

One thing that Google's Chrome browser AI can do is write HTML code that does what you describe to it. To test run this capability I took the programming notes I'd created for an old QuickBasic program and copied them to the AI.  It took 1/2 hour or so to have a working but buggy version of that old program. The AI could spot the bugs when I described them to it, and provide updated code with the fix. Another hour total of quick sessions had all the bugs fixed and some new features added. 

PTutor Screen Capture

This is PTutor.  It is an HTML version of a Perspective drawing Tutorial program I wrote in QuickBasic back in 1987 when I was in graduate school.  It ran under DOS on IBM PC clones on a 640 x 480 resolution CRT monitor.   You can download the HTML version at THIS LINK .Double clicking on the HTML file will open it in a browser window. Drag the red handles of the site lines around to see the object from different viewpoint.  Let go of the mouse button and the drawing will re-center with your new view straight ahead.  

I've been working with Chrome's AI to build a web browser version of a more useful 3D Perspective drawing CAD program I also wrote in QuickBasic back in 1988 or so to serve the students in the IAPD program at K-State.   The challenge right now is that as the program code grows it is harder to handle the size and takes more time.  It was simple to use, with only 3 basic elements to use.  One was vertical rectangles.  One is single lines, and the last is Blocks that can be any previous file.  A press of "P" on the keyboard would draw a perspective view of anything you had drawn. "T" switches to the Top view, and "S" switches to the Side view. Their is a site line that starts at a station point and ends at your focus point  In Top or Side view we can drag the ends of this line around to change what you see then "P" is pressed for a perspective view.  You can zoom in or out of the perspective view, and pan it over. You can delete individual lines in the perspective view to remove any that should be hidden and clutter the drawing.  The features aren't hard to describe, but they take considerable code to make happen in a browser window. The AI isn't capable of compact efficient code. It is too verbose and that makes the file size larger than the Chrome text window can hold. 

So one success and one failure.  Directly related to the limits of what Google's Chrome AI can do. Small ideas Yes.  Complex and more useful ideas are a Maybe. Perhaps I'll try again after that AI has evolved some more. 

4D

No comments: