[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

forth and back

Subject: forth and back
From: Tobias Reif <tobiasreif@xxxxxxxxx>
Date: Sat, 21 Apr 2001 12:38:15 -0700 (PDT)
forth and back
Hi;

I'm experimenting with XSLT and SVG:
http://www.pinkjuice.com/SVG/XSLT/fractals/
(those are working)

Now I want to generate different colors for the
levels; forth and back in an array of colors. The
level can be set to any depth, and I don't want to
just go from blue to yellow for a result with 2 levels
as well as one with 10 levels; I'd rather have the
colors go from blue to yellow to blue to yellow and so
forth for the depth set in the input-doc ("up and
down").
(the opacity of the levels goes one way from low to
high for any depth; this works.)

The result should look something like this:
http://www.pinkjuice.com/temp/XSLT/color-levels.svg

I tried to write two recursing templates:
the first is called "forth"; red and blue are
icremented, and green is decremented.
The second one works the otherway round.
One should start the other as soon as one of the
values reached the limlit of either 0 or 255.
Both should stop as soon as the set level of depth is
reached.

The current, crashing attempt is here:
http://www.pinkjuice.com/temp/XSLT/colored-levels.xslt
the input is
http://www.pinkjuice.com/temp/XSLT/06.svg

Any ideas?

Tobi

=====
Tobias Reif
http://www.pinkjuice.com/myDigitalProfile.htm

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • forth and back
    • Tobias Reif - Sat, 21 Apr 2001 15:37:47 -0400 (EDT) <=
      • <Possible follow-ups>
      • Tobias Reif - Sat, 21 Apr 2001 18:14:21 -0400 (EDT)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.