[taos-glug] progress report; Tulsa Linux group

I went to a meeting of the Tulsa Linux user group today.   A couple
of guys did demonstrations of a "free" 3D animation program called Blender
(see www.blender.org and www.blender3d.org).  
Very fancy stuff!  It's even got a game engine.

It makes our little Guile/X Windows "turtle graphics" tutorial look 
pretty weak by comparison.  But you've got to crawl before you can walk.

In that connection, I've been experimenting with the idea of minimizing 
C and
doing as much as possible with Scheme.

I took tortoise3.c as a starting point, and made three "primitive" C 
functions:   one
to set the color; one to turn a single pixel that color; and a third to 
write a string of
characters in that color.    Then I used only those three and did 
everything else from
Scheme, with the goal of being able to plot some equations out of an old 
geometry book
I have.

It's slow when coloring the whole window, but it does work.

I had the most problems getting the conversions between Scheme data 
formats and
C formats right.   But I finally got it to compile and run without 
errors.    Attached
is one snapshot of what the output looks like.  

Has anybody else made any progress yet?

If figure we'll start on SICP after the 4th of July weekend.

Philip


-- Binary/unsupported file stripped by Ecartis --
-- Type: image/png
-- File: snapshot4.png



Other related posts: