[svg-developers] Re: A full SVG 1.1 spec editor

2008-11-18 Thread Frank Bruder
As for SVG to PNG converters, Apache Batik does support SVG fonts. If
you show me the file with which you've tested it, I could probably
find the error.

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

 I'm searching any editor that support full SVG 1.1 spec, including
SVG Fonts
 and/or glyphs.
 
 I tried Inkscape and Sodipodi, but both didn't opened glyphs.
 
 If anyone knows any editor that support this, or a SVG-to-PNG converter.
 
 I tried some converters (rsvg, apache batik, but seems doesn't support
 glyphs too).
 
 I'm googlin' here, but without results yet.
 
 Thanks in advance.
 
 -- 
 Caio Ariede
 http://caioariede.com/
 
 
 [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] SVG downlad bar

2008-11-18 Thread richard.trigaux
Hello, I am fairly new to SVG, and I have big projects...

At first, I need to do a download bar, which would display the 
downloading status of large files, and start automatically an 
animation or sound. Thanks to give me the right direction to start 
(SVG 1.2, I guess, because SVG 1.1 missed some basic functions) 




-
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-11-18 Thread Dailey, David P.
Cool Jake,

 

Thanks,

 

It's way faster than the recursive thing that my student Eric has been
working on. Though the quasi-recursive thing (using SMIL) that I have is
fast enough, but not very tree like yet.

 

David

 

From: svg-developers@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jake Beard
Sent: Monday, November 17, 2008 9:58 PM
To: svg-developers@yahoogroups.com
Subject: Re: [svg-developers] Re: other things you might not have the
time for

 

David, something that might be of interest to your project:

http://www.stumbleupon.com/toolbar/#topic=Animationurl=http%25253A%2525
2F%25252Fwww.gskinner.com%25252Fblog%25252Fassets%25252FInteractiveElm.h
tml

A really beautiful example of animated tree budding, unfortunately
implemented in flash.

Jake

On Mon, Oct 27, 2008 at 5:49 AM, ddailey [EMAIL PROTECTED]
mailto:ddailey%40zoominternet.net  wrote:
 Yes, perfect!

 thanks
 David

 - Original Message -
 From: Andreas Neumann
 To: svg-developers@yahoogroups.com
mailto:svg-developers%40yahoogroups.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
mailto:svg-developers%40yahoogroups.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]

 

 



[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] Re: A full SVG 1.1 spec editor

2008-11-18 Thread caio ariede
Yes.

After downloading Batik from SVN it works fine.

Thanks.

Caio Ariede
http://caioariede.com/


On Tue, Nov 18, 2008 at 9:54 AM, Frank Bruder [EMAIL PROTECTED] wrote:

   As for SVG to PNG converters, Apache Batik does support SVG fonts. If
 you show me the file with which you've tested it, I could probably
 find the error.


 --- In svg-developers@yahoogroups.com svg-developers%40yahoogroups.com,
 caio ariede [EMAIL PROTECTED]
 wrote:
 
  I'm searching any editor that support full SVG 1.1 spec, including
 SVG Fonts
  and/or glyphs.
 
  I tried Inkscape and Sodipodi, but both didn't opened glyphs.
 
  If anyone knows any editor that support this, or a SVG-to-PNG converter.
 
  I tried some converters (rsvg, apache batik, but seems doesn't support
  glyphs too).
 
  I'm googlin' here, but without results yet.
 
  Thanks in advance.
 
  --
  Caio Ariede
  http://caioariede.com/
 
 
  [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] Generate *non-overlapping* circles?

2008-11-18 Thread mercurysbane
Hey everyone!

I have the need to generate non-overlapping circles, and I'm kind of 
dreading writing the code that will do it from scratch.  In fact, it 
is even a little more complicated than that.

I want to be able to take hierarchical information and generate a sort 
of random-looking web of nodes.  Like this (imagine the middle circle 
is root):
http://img4.pictiger.com/655/17374113.jpg

I *think* I can write code that will generate something like this.  I 
just know that it is going to take significant effort, so if anyone 
here has some ideas or previous experience doing something like this, 
or anything that might help me do it -- I'd really appreciate it.

Right now, my plan is to do the actual graphics generation with dojo, 
unless someone can give me a better alternative...

-Steve




-
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] google map into svg

2008-11-18 Thread radice_simone
is possible load a javascript object as google map into a svg 
document ? so i can see a google map into a svg graphic.

Thanks




-
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] google map into svg

2008-11-18 Thread Jake Beard
Lively Kernel does this:

http://research.sun.com/projects/lively/index.xhtml

Under More Complex Sample Widgets. (note that to get it to work in
FF3, you need to go to use firebug to adjust the height on the main
svg tag from 100% to 2000px, or however tall you want the main
canvas area to be, because height=100% on the svg tag is broken in
FF )

Just taking a look at the code, it doesn't look like they're doing
what I expected them to do, which is to embed a map using the
foreignObject tag. Instead, it looks like they've really gone and
built a client which uses the Google Maps API with SVG controls! Very
impressive.

Jake

On Mon, Nov 17, 2008 at 8:10 AM, radice_simone [EMAIL PROTECTED] wrote:
 is possible load a javascript object as google map into a svg
 document ? so i can see a google map into a svg graphic.

 Thanks

 



-
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] Generate *non-overlapping* circles?

2008-11-18 Thread ddailey
Hi Steve,

Looking at the picture you've provided suggests to me the following approach:

a) generate a Voronoi diagram [1] (I think this can be done quickly, i.e. in 
less than O(n^2) ) on a random set of n points; though I've never actually done 
it -- maybe somebody knows of a link to an SVG that does that already??; 
b) while generating, keep track of the edges (since these provide the incidence 
matrix of the graph);
c) within each polygon, inscribe a circle --  inscribing a circle inside a 
convex polygon should be fairly easy it seems

Whether the Voronoi diagrams would be representative of the set of all convex 
tessellations of the plane relevant to your purposes or not, I'm not sure. 
Alternative pseudo-random tessellations could be considered with domino 
tilings, rhombic tilings, or other nonperiodic tilings.

That's probably how I'd try to do it.

Alternative ways of approaching it would be to generate quasi 2-Euclidean 
graphs (as in [2]) (in which adjacency of nodes is based on a threshold of 
their 2-D Euclidean positions, followed by elimination of crossing lines); 
followed by expansion of circles until the radius equals half the distance of 
the nearest neighbor.

Harary, I think, has a theorem of some sort establishing the number of distinct 
triangulations of a planar region -- one such triangulation could be induced 
upon a plane filled with n random points and from there the geometric dual 
would be something like a Voronoi diagram, it seems.

holler when you get it done, since it'd be fun to see
David

[1] http://en.wikipedia.org/wiki/Voronoi_diagram
[2] http://srufaculty.sru.edu/david.dailey/svg/graphs30.svg 

  - Original Message - 
  From: mercurysbane 
  To: svg-developers@yahoogroups.com 
  Sent: Tuesday, November 18, 2008 2:37 PM
  Subject: [svg-developers] Generate *non-overlapping* circles?


  Hey everyone!

  I have the need to generate non-overlapping circles, and I'm kind of 
  dreading writing the code that will do it from scratch. In fact, it 
  is even a little more complicated than that.

  I want to be able to take hierarchical information and generate a sort 
  of random-looking web of nodes. Like this (imagine the middle circle 
  is root):
  http://img4.pictiger.com/655/17374113.jpg

  I *think* I can write code that will generate something like this. I 
  just know that it is going to take significant effort, so if anyone 
  here has some ideas or previous experience doing something like this, 
  or anything that might help me do it -- I'd really appreciate it.

  Right now, my plan is to do the actual graphics generation with dojo, 
  unless someone can give me a better alternative...

  -Steve



   

[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: google map into svg

2008-11-18 Thread Robert Longson
--- In svg-developers@yahoogroups.com, Jake Beard [EMAIL PROTECTED] wrote:

 Lively Kernel does this:
 
 http://research.sun.com/projects/lively/index.xhtml
 
 Under More Complex Sample Widgets. (note that to get it to work in
 FF3, you need to go to use firebug to adjust the height on the main
 svg tag from 100% to 2000px, or however tall you want the main
 canvas area to be, because height=100% on the svg tag is broken in
 FF )

I don't believe svg height=100% is broken in firefox. The svg height
is 100% but the div size is the size of its contents so you have a
circular problem to calculate this. We therefore use a fallback size.
This is exactly what
http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width says we
should do doesn't it? If you think differently please explain, ideally
with references.

Best regards

Robert





-
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: Generate *non-overlapping* circles?

2008-11-18 Thread mercurysbane
David.

You're awesome.  Thanks for these excellent ideas and resources.  
Finally -- a use for my undergrad mathematics degree...  ;)

Time to knock off the rust.

I'll definitely send out the link when I have it working (or 
alternatively, when I have something to show).

-Steve

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

 Hi Steve,
 
 Looking at the picture you've provided suggests to me the following 
approach:
 
 a) generate a Voronoi diagram [1] (I think this can be done quickly, 
i.e. in less than O(n^2) ) on a random set of n points; though I've 
never actually done it -- maybe somebody knows of a link to an SVG 
that does that already??; 
 b) while generating, keep track of the edges (since these provide 
the incidence matrix of the graph);
 c) within each polygon, inscribe a circle --  inscribing a circle 
inside a convex polygon should be fairly easy it seems
 
 Whether the Voronoi diagrams would be representative of the set of 
all convex tessellations of the plane relevant to your purposes or 
not, I'm not sure. Alternative pseudo-random tessellations could be 
considered with domino tilings, rhombic tilings, or other nonperiodic 
tilings.
 
 That's probably how I'd try to do it.
 
 Alternative ways of approaching it would be to generate quasi 2-
Euclidean graphs (as in [2]) (in which adjacency of nodes is based on 
a threshold of their 2-D Euclidean positions, followed by elimination 
of crossing lines); followed by expansion of circles until the radius 
equals half the distance of the nearest neighbor.
 
 Harary, I think, has a theorem of some sort establishing the number 
of distinct triangulations of a planar region -- one such 
triangulation could be induced upon a plane filled with n random 
points and from there the geometric dual would be something like a 
Voronoi diagram, it seems.
 
 holler when you get it done, since it'd be fun to see
 David
 
 [1] http://en.wikipedia.org/wiki/Voronoi_diagram
 [2] http://srufaculty.sru.edu/david.dailey/svg/graphs30.svg 
 





-
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: google map into svg

2008-11-18 Thread Jake Beard
Hi Robert,

You might be right, I don't have a complete understanding of the spec.
It does work in webkit, though, and this might be the source of my
confusion. Would I be correct in thinking, then, that something like
the following would be the correct way to specify an svg element that
takes up the full width and height of the page?

div style=width:100%;height:100%;
svg width=100% height=100%/svg
/div

In order to better understand this, I've been playing around with
width/height=100% just on divs, without inner svg elements, and have
been getting somewhat confusing results:

http://msdl.cs.mcgill.ca/people/jake/tests/svgHeight100Percent_3.html
http://msdl.cs.mcgill.ca/people/jake/tests/svgHeight100Percent_3.xhtml

Why does the one page served up as html show a fullscreen div, while
the other xhtml document shows nothing? Are width/height attributes on
divs handled so differently between the HTML and XHTML specs? Results
are consistent across FF, Opera and Webkit. I'd appreciate it if you
could help me understand what's going on here, and let me know what
you think is the correct way to specify an SVG element that takes up
the whole viewport width and height.

Thanks,

Jake


On Tue, Nov 18, 2008 at 5:34 PM, Robert Longson [EMAIL PROTECTED] wrote:
 --- In svg-developers@yahoogroups.com, Jake Beard [EMAIL PROTECTED] wrote:

 Lively Kernel does this:

 http://research.sun.com/projects/lively/index.xhtml

 Under More Complex Sample Widgets. (note that to get it to work in
 FF3, you need to go to use firebug to adjust the height on the main
 svg tag from 100% to 2000px, or however tall you want the main
 canvas area to be, because height=100% on the svg tag is broken in
 FF )

 I don't believe svg height=100% is broken in firefox. The svg height
 is 100% but the div size is the size of its contents so you have a
 circular problem to calculate this. We therefore use a fallback size.
 This is exactly what
 http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width says we
 should do doesn't it? If you think differently please explain, ideally
 with references.

 Best regards

 Robert

 



-
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: google map into svg

2008-11-18 Thread Robert Longson
--- In svg-developers@yahoogroups.com, Jake Beard [EMAIL PROTECTED] wrote:

 Hi Robert,
 
 You might be right, I don't have a complete understanding of the spec.
 It does work in webkit, though, and this might be the source of my
 confusion. Would I be correct in thinking, then, that something like
 the following would be the correct way to specify an svg element that
 takes up the full width and height of the page?
 
 div style=width:100%;height:100%;
 svg width=100% height=100%/svg
 /div

http://www.dv-schmelzer.de/faq/Programmierung/CSS/100_percent_height/100percheight.html

 
 In order to better understand this, I've been playing around with
 width/height=100% just on divs, without inner svg elements, and have
 been getting somewhat confusing results:
 
 http://msdl.cs.mcgill.ca/people/jake/tests/svgHeight100Percent_3.html
 http://msdl.cs.mcgill.ca/people/jake/tests/svgHeight100Percent_3.xhtml
 
 Why does the one page served up as html show a fullscreen div, while
 the other xhtml document shows nothing? Are width/height attributes on
 divs handled so differently between the HTML and XHTML specs? 

No, however you are comparing html quirks mode with xhtml which is
always strict mode. Try giving your html a proper doctype and you will
see it works the same as xhtml.

Best regards

Robert






-
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/