[svg-developers] Re: other things you might not have the time for

2008-10-27 Thread Andreas Neumann
Hi David,

not sure I fully understand your requirement. Are you looking for a 
progressive drawing of a path geometry? If yes, you can do this by 
animating the stroke-dash of a path.

Here are 2 examples:
http://www.carto.net/papers/svg/samples/animated_bustrack.shtml
and
http://pilat.free.fr/english/animer/france.htm

Andreas


--- In svg-developers@yahoogroups.com, ddailey [EMAIL PROTECTED] wrote:

 I will hope Frank finds the time to do the things he's talking 
about -- they all sound quite worthwhile.
 
 I, on the other hand, have been playing a bit more:
 
 http://srufaculty.sru.edu/david.dailey/svg/followpath6.svg
 
 You'll need SMIL support and JavaScript in your SVG to see it, but 
it's only 100 lines of code so it can be comprehended with a large 
glance.
 
 In the long run, a student and I are interested in animating the 
growth of a tree, but I wanted to get a simple context sensitive 
theory of budding. I've slowed down the budding so the brambles don't 
surround the castle too quickly. It might be nice to use a 
Lindenmeyer system (sort of a Chomskian grammar in parallel) to 
generate the budding, but for now it's just branch -- branch + 
branch, and there is no biophysics (other than edge avoidance).
 
 Any clever ideas on how to reveal the shape of a Bezier curve 
gradually -- namely to draw it as it is being traversed by an 
animation?
 
 cheers
 David
 
 [Non-text portions of this message have been removed]






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] open svg files in opera

2008-10-27 Thread Erik Dahlström
On Thu, 23 Oct 2008 16:11:01 +0200, tim.becker80 [EMAIL PROTECTED] wrote:

 Hi peops !
 I use opera as my SVG viewer and so I'm constantly opening files
 stored on my HD (File  Open...). My problem is that the default
 setting of opera when opening a file is to display only html files.
 Of course, one can unrole the menu of file extensions and choose SVG
 or all files but it's quite annoying to do it every single time.

I'd suggest asking the same question in the my.opera.com forums[1].

Usually I dragdrop svg files on Opera to open them, or use directory listings 
and search for .svg (if you have enabled single-key shortcuts just press 
comma and then type what you want to search for).

 Do you know how to change the setting of opera for it to
 automatically offer the possibility of opening svg files or even all
 files?

I don't think there's a pref setting for which file-extension filter is used by 
default, but I could be wrong. And I would be surprised if there wasn't a way 
to modify the install of Opera to change the default order by some other means, 
such as editing a config file manually.

Cheers
/Erik

[1] http://my.opera.com/community/forums/

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Re: other things you might not have the time for

2008-10-27 Thread ddailey
Yes, perfect! 

thanks
David
  - Original Message - 
  From: Andreas Neumann 
  To: svg-developers@yahoogroups.com 
  Sent: Monday, October 27, 2008 4:27 AM
  Subject: [svg-developers] Re: other things you might not have the time for


  Hi David,

  not sure I fully understand your requirement. Are you looking for a 
  progressive drawing of a path geometry? If yes, you can do this by 
  animating the stroke-dash of a path.

  Here are 2 examples:
  http://www.carto.net/papers/svg/samples/animated_bustrack.shtml
  and
  http://pilat.free.fr/english/animer/france.htm

  Andreas

  --- In svg-developers@yahoogroups.com, ddailey [EMAIL PROTECTED] wrote:
  
   I will hope Frank finds the time to do the things he's talking 
  about -- they all sound quite worthwhile.
   
   I, on the other hand, have been playing a bit more:
   
   http://srufaculty.sru.edu/david.dailey/svg/followpath6.svg
   
   You'll need SMIL support and JavaScript in your SVG to see it, but 
  it's only 100 lines of code so it can be comprehended with a large 
  glance.
   
   In the long run, a student and I are interested in animating the 
  growth of a tree, but I wanted to get a simple context sensitive 
  theory of budding. I've slowed down the budding so the brambles don't 
  surround the castle too quickly. It might be nice to use a 
  Lindenmeyer system (sort of a Chomskian grammar in parallel) to 
  generate the budding, but for now it's just branch -- branch + 
  branch, and there is no biophysics (other than edge avoidance).
   
   Any clever ideas on how to reveal the shape of a Bezier curve 
  gradually -- namely to draw it as it is being traversed by an 
  animation?
   
   cheers
   David
   
   [Non-text portions of this message have been removed]
  



   

[Non-text portions of this message have been removed]




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[svg-developers] Re: Things I'd program if I had the time

2008-10-27 Thread Helder Magalhães
 + An SVG viewer Java applet, which just checks whether Apache Batik
 [10] is available to use for displaying an SVG document, and if it 
 isn't then it should direct the user to instructions for downloading 
 Batik and adding its location to the class path[11]. The applet 
 itself would be rather small. It could be used as fallback content 
 for non SVG enabled browsers (of course, this could be added 
 automatically by the XHTML deploy script mentioned above). One could 
 also use the applet as the only method for presenting SVGs to the 
 user. This way one wouldn't have to deal with browser specific 
 limitations in SVG support. Batik would be the only implementation in 
 which the content needs to work. Even non-standard extensions, 
 implemented in additional classes stored on the server, could be 
 used, but that would probably be more complicated to handle, and 
 would therefore not be supported by the first release version of the 
 applet.

I feel like I might also suffer from this lack of time disease! ;-D

Actually, I've been idle studying the possibility of creating a
Batik-based applet viewer, although it's not quite there yet (both due
to the applet itself and to some Batik interoperability things that
need to be improved first). Of course I'll post whenever something
useful is made available but, in the meantime, I'd like to share my
current status regarding this. There seems to be demand for such
feature [1] and supporting Java-enabled IE would surely help boosting
SVG deployment. :-)

Thanks for sharing,

 Helder Magalhães

[1]
http://www.w3.org/Graphics/SVG/IG/wiki/SVG_Plugin_for_IE#Use_of_the_Apache_Batik_toolkit




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Re: Things I'd program if I had the time

2008-10-27 Thread Jake Beard
One thing I've been curious about recently is whether Batik works on
the Iced Tea JRE. This wouldn't affect the building of an applet
viewer, but having the ability to bundle a JRE would be extremely
important if one were to actually want to work on building a
Batik-based SVG-viewer plugin.

Jake

On Mon, Oct 27, 2008 at 11:03 AM, Helder Magalhães
[EMAIL PROTECTED] wrote:
 + An SVG viewer Java applet, which just checks whether Apache Batik
 [10] is available to use for displaying an SVG document, and if it
 isn't then it should direct the user to instructions for downloading
 Batik and adding its location to the class path[11]. The applet
 itself would be rather small. It could be used as fallback content
 for non SVG enabled browsers (of course, this could be added
 automatically by the XHTML deploy script mentioned above). One could
 also use the applet as the only method for presenting SVGs to the
 user. This way one wouldn't have to deal with browser specific
 limitations in SVG support. Batik would be the only implementation in
 which the content needs to work. Even non-standard extensions,
 implemented in additional classes stored on the server, could be
 used, but that would probably be more complicated to handle, and
 would therefore not be supported by the first release version of the
 applet.

 I feel like I might also suffer from this lack of time disease! ;-D

 Actually, I've been idle studying the possibility of creating a
 Batik-based applet viewer, although it's not quite there yet (both due
 to the applet itself and to some Batik interoperability things that
 need to be improved first). Of course I'll post whenever something
 useful is made available but, in the meantime, I'd like to share my
 current status regarding this. There seems to be demand for such
 feature [1] and supporting Java-enabled IE would surely help boosting
 SVG deployment. :-)

 Thanks for sharing,

 Helder Magalhães

 [1]
 http://www.w3.org/Graphics/SVG/IG/wiki/SVG_Plugin_for_IE#Use_of_the_Apache_Batik_toolkit

 



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[svg-developers] progressive drawing of path -- attempt to use clipPath

2008-10-27 Thread Dailey, David P.
 

Andreas wrote:
not sure I fully understand your requirement. Are you looking for a 
progressive drawing of a path geometry? If yes, you can do this by 
animating the stroke-dash of a path.

Examples are provided: [1] and [2]. Yes; exactly what I was asking for.
Pretty clever it is!

Now I have a new question - consider the example at
http://srufaculty.sru.edu/david.dailey/svg/unveilPath.svg (it uses SMIL
so be sure to use a proper browser)

I've simplified the basic example as much as I can, and am trying to
animate the fill to follow the animation of the path. Clearly this is a
kludge. However, what I did think of was the following: how about I
stick a copy of the first half of the path (with its animated
stroke-dash) inside a clipPath and then apply the  clipPath to the
original path. Then shouldn't the growth of the clipping region unveil
the path as well as its fill, concurrently?

Alas, it didn't work. From the spec [3] , we find that

The raw geometry of each child element exclusive of rendering
properties such as 'fill'
http://www.w3.org/TR/SVG/painting.html#FillProperty , 'stroke'
http://www.w3.org/TR/SVG/painting.html#StrokeProperty , 'stroke-width'
http://www.w3.org/TR/SVG/painting.html#StrokeWidthProperty  within a
'clipPath' conceptually defines a 1-bit mask (with the possible
exception of anti-aliasing along the edge of the geometry) which
represents the silhouette of the graphics associated with that element.

This means that the animation of the rendering properties won't affect
the footprint of an object inside a clipPath. Too bad.  It looks like
it's back to script for this. Ultimately I want to simulate the growth
of a live tree (the kind with bark) and progressive drawing seemed like
a useful approach. Is there a reason (other than cross-browser
consistency) that the spec limits the footprint to the raw geometry?
An object's silhouette as modified by stroke properties could be quite
handy for exactly this purpose.

Cheers,
David


[1] http://www.carto.net/papers/svg/samples/animated_bustrack.shtml

[2] http://pilat.free.fr/english/animer/france.htm

[3] http://www.w3.org/TR/SVG/masking.html#OverflowAndClipProperties

 



[Non-text portions of this message have been removed]




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[svg-developers] Re: Things I'd program if I had the time

2008-10-27 Thread Helder Magalhães
 One thing I've been curious about recently is whether Batik works on
 the Iced Tea JRE.

Yes, this would be an interesting test to perform. :-)

I may be able to get my hand into this particular idea in a near
future: it seems that it's already available for ubuntu [1]: I'm
currently waiting for the upcoming release [2] (of kubuntu) for a
taste of a SVG-enabled desktop [3]. ;-)

Best regards,

 Helder Magalhães

[1] http://en.wikipedia.org/wiki/IcedTea#Progress_and_availability
[2] http://www.ubuntu.com/news/ubuntu-8.10-desktop
[3] http://www.svgopen.org/2008/papers/104-SVG_in_KDE/




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[svg-developers] Re: Things I'd program if I had the time

2008-10-27 Thread Frank Bruder
--- In svg-developers@yahoogroups.com, Jake Beard [EMAIL PROTECTED] 
wrote:

 
 I was going to hold off on posting this until it had gone through a
 few more iterations, but I am working on a script that transforms 
svg,
 either inline or embedded, into VML by leveraging dojox.gfx. The
 project page is here, but there's not much to see yet in terms of
 demos, as we're currently in the process of deploying it on our 
pages:
 
 http://msdl.cs.mcgill.ca/people/jake/svg2gfx
 
 Jake


A very interesting project, Jake. It evokes several thoughts to me:

Looking for SVG to VML converters I came across the Vector Converter 
project
http://vitali.web.cs.unibo.it/Progetti/VectorConverter
they convert SVG - VML by means of XSLT

There are some ways to add Greasemonkey-like functionality to IE
http://en.wikipedia.org/wiki/Greasemonkey#Internet_Explorer
if you could write your script to work as a user Javascript then this 
might be an alternative to an SVG plugin.

Have you looked into HTML+TIME Animation?
http://msdn2.microsoft.com/en-us/library/ms533113.aspx
It can also be used to animate style properties of VML elements (I've 
tested that), and since position, dimensions, and rotation are 
determined by style properties in VML this could allow some 
declarative animation in SVG to be converted.


Regards
   Frank




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/