Hi,
Yes, Charles -- but I'm still on old gear ( 6 months ago the Cy promised me a new machine for at home )
ah, yes , I switched to lines now , strangely in OGL a line has no thickness (only a length) - a perpendicular view and the lines vanish
Jack, I just wrote a DLL with the fbcomplex included , something as :
------------------------------------------------
#include "fbcomplex.bi"
extern "Windows-MS"
public function Cadd ( x as double , y as double , u as double , v as double ) as complex export
dim z as complex = cmplx(x,y)+cmplx(u,v)
return z
end function
...
end extern
on the Scheme side :
-------------------------------------
#lang scheme
(require scheme/foreign)
(unsafe!)
(define dll (ffi-lib "complex.dll"))
(define Cadd
(get-ffi-obj "Cadd" dll (_fun _double _double _double _double -> (_list-struct _double _double))))
etc ...
the complex is returned as a list containing the real and imag part defined by
(_list-struct _double _double)you can even input the complex numbers by a lisp structure and keep the ( ... as complex , ... ) in the fb declarations
you get a good fractal by setting a2, a4, and a6 to 1 and the odd a's to 0 you even can generate kind of Julia fractals with it (attached , executable with the initial values)
thanks , Rob
.