[REBOL] Re: impossible figure
From: anton:lexicon at: 4-Sep-2002 16:19
> Hi Anton,
> you need to add:
> do load-thru site/library/include.r
Thanks, I have fixed that now.
And, even better, I also fixed the cause of the
reason why I forgot about that. :)
The reason is that I have modified my user.r to
define a few useful words and functions that I
use a lot.
But I had no really easy way to switch on/off my
definitions. And by "really easy" I don't mean
opening up an editor and modifying user.r by hand.
The effect of having to do that is that I never
bothered to run a "clean" rebol to test my scripts,
so occasionally bugs arrive in code I've uploaded.
I wanted to have two icons, whose command lines are
just slightly different:
rebol.exe -- "do-anton-user?: true"
And now I have. :)
The first icon tells user.r to define my functions.
See my other post today to see the details of that:
system/options/args can be accessed in user.r
I have had the same idea with fonts and 3d text,
so I started work on a trapezoid function, that
can map a 2d image into a trapezoid.
It's not finished, but you can see what it can
do at the moment.
do load-thru site/demo/demo-trapezoid-morph.r
Together with a rotation function it could go places.
(Although not fast. :)
But, oh my gosh, my rotation demos are in a bit of a
mess at the moment, because I'm half way through
fixing them for the current beta release, and
that broke them for older full releases, so
they don't work for anyone!
When rebol 3.0 comes out I'll be fixing everything