[svg-developers] regrets
regrets, it is with profound regret that I find my other commitments prevent me from contributing further to developments at W3C. I had always felt that w3c's reliance on commercial funding distorted the progress of specifications. Most particularly in respect of the needs of the end-user and particularly the less literate, including the large community of people with learning disabilities. Communication is most successful when it is a two-way process, this requires that specifications are rigorously tested to ensure that all users are enabled to author and publish on an equal footing, as far as is reasonable and possible. Instead guilds are developing who's self interest has rather different motivations. regards Jonathan Chetwynd [EMAIL PROTECTED] http://www.openicon.org/ +44 (0) 20 7978 1764 [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: Safari problem with no nought
On Thu, 11 Sep 2008 02:09:58 +0200, ddailey [EMAIL PROTECTED] wrote: Hi Jeff! Jeff Schiller wrote: On the other hand, I'm not sure about begin/end times in SMIL. I noticed last night that Opera seems to have problem with missing nought characters in SMIL events (i.e. begin=.25s). Haven't done any thorough investigation though. I used to notice (a couple of years ago) that Opera had problems if I used dur=.5s instead of dur=0.5s, but thought that had all been fixed. Maybe I just got used to using 0. in my time units for SMIL. So yes, we'll need to make sure to include such cases. The syntax for the begin attribute is borrowed from SMIL, and the grammar doesn't allow for a . to start a Clock-value. Possibly this is because it can cause confusion with id-values, but I haven't looked at it in detail yet. Another somewhat related gotcha is dash/minus characters in id:s, that can clash with the event-value syntax, e.g. 'someid-0.4s.end' since 'someid-0.4s' is a valid id. What you need to do in such cases is to escape the dash in the id with a backslash. There are some boundary problems still existing of that type for example in http://srufaculty.sru.edu/david.dailey/svg/SVGOpen2008/filterBlur2.svg , if I put filter id=D x=0% y=0% width=100% height=100% feGaussianBlur stdDeviation=25,0 / /filter instead of filter id=D x=0% y=0% width=100% height=100% feGaussianBlur stdDeviation=25,0.1 / /filter (thanks to Erik for helping me figure this out) It should work, the spec wasn't explicit about this particular case though. If stdDeviation is 0 then nothing should be rendered according to the spec. However when it's 0 in one direction and 0 in the other then I agree it makes sense to render it. I'll see if I can clarify this in the SVG Filters 1.2 spec, and try to get this fixed in Opera. Cheers /Erik -- 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/
[svg-developers] Question on HTML/SVG interop regarding javascript
Hi all, I have a javascript related problem/question: Given the following situation: * HTML file with Javascript and embedded SVG file, some global variable declarations * Embedded SVG with Javascript, some global variable declarations, lets say I have a var definition in the SVG context like var color= 'blue'; The question is: From javascript running in the HTML context - can I access and change javascript variables and objects running in the SVG context - and how would I do that? In the given example, how can I query and change from the HTML context the value of the string variable color which is defined in the SVG context? Thanks for any ideas/hints, Andreas - 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] Question on HTML/SVG interop regarding javascript
Hi Andreas, Take a look at http://srufaculty.sru.edu/david.dailey/svg/backandforth20.htm The button with ? explains a little bit about how to use the thing (it's a collaborative linking sticky-note thing that inserts floating HTML text areas above svg nodes in a user-connected graph. I think the graph may have some lexical proximities built in too). It's not the simplest example of what you want, but I couldn't find anything easier at hand. It works in IE/ASV, Opera and FF though I haven't tried it anywhere else. The array Nodes is defined in SVG. It is an array of objects, each of which is created via new Node and function Node(x,y,id,label,col){ this.x=x this.y=y this.id=id this.label=label this.col=col this.links=new Array() this.info=label } events in the SVG define the x and y coordinates as well as the labels and colors of nodes. events in the HTML define the info (or story) associated with each node. Come to think of it, http://www.w3.org/Graphics/SVG/IG/resources/StateOfArt-Dailey.html contains an example that may be simpler in the chapter on scripting between SVG and HTML, but since that reference hasn't been fixed yet you'll have to wade through some funky characters and some even funkier formatting. David - Original Message - From: Andreas Neumann To: svg-developers@yahoogroups.com Sent: Thursday, September 11, 2008 6:14 AM Subject: [svg-developers] Question on HTML/SVG interop regarding javascript Hi all, I have a javascript related problem/question: Given the following situation: * HTML file with Javascript and embedded SVG file, some global variable declarations * Embedded SVG with Javascript, some global variable declarations, lets say I have a var definition in the SVG context like var color= 'blue'; The question is: From javascript running in the HTML context - can I access and change javascript variables and objects running in the SVG context - and how would I do that? In the given example, how can I query and change from the HTML context the value of the string variable color which is defined in the SVG context? Thanks for any ideas/hints, Andreas [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: Question on HTML/SVG interop regarding javascript
Thank you David, actually the problem was now very simple to solve. It only required the aliasing of the variable or object to the top object. so doing: top.myObject = myObect; on the SVG part made the object available in the HTML world. Thanks for the hint! Andreas --- In svg-developers@yahoogroups.com, ddailey [EMAIL PROTECTED] wrote: Hi Andreas, Take a look at http://srufaculty.sru.edu/david.dailey/svg/ backandforth20.htm The button with ? explains a little bit about how to use the thing (it's a collaborative linking sticky-note thing that inserts floating HTML text areas above svg nodes in a user-connected graph. I think the graph may have some lexical proximities built in too). It's not the simplest example of what you want, but I couldn't find anything easier at hand. It works in IE/ASV, Opera and FF though I haven't tried it anywhere else. The array Nodes is defined in SVG. It is an array of objects, each of which is created via new Node and function Node(x,y,id,label,col){ this.x=x this.y=y this.id=id this.label=label this.col=col this.links=new Array() this.info=label } events in the SVG define the x and y coordinates as well as the labels and colors of nodes. events in the HTML define the info (or story) associated with each node. Come to think of it, http://www.w3.org/Graphics/SVG/IG/resources/ StateOfArt-Dailey.html contains an example that may be simpler in the chapter on scripting between SVG and HTML, but since that reference hasn't been fixed yet you'll have to wade through some funky characters and some even funkier formatting. David - Original Message - From: Andreas Neumann To: svg-developers@yahoogroups.com Sent: Thursday, September 11, 2008 6:14 AM Subject: [svg-developers] Question on HTML/SVG interop regarding javascript Hi all, I have a javascript related problem/question: Given the following situation: * HTML file with Javascript and embedded SVG file, some global variable declarations * Embedded SVG with Javascript, some global variable declarations, lets say I have a var definition in the SVG context like var color= 'blue'; The question is: From javascript running in the HTML context - can I access and change javascript variables and objects running in the SVG context - and how would I do that? In the given example, how can I query and change from the HTML context the value of the string variable color which is defined in the SVG context? Thanks for any ideas/hints, Andreas [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] Tim Berners Lee on the missing SVG support in Internet Explorer
http://www.msnbc.msn.com/id/26646919/ and on thousands of other newspaper sites (if you google for Tim Berners-Lee Flaw in Internet Explorer If only he could have acted earlier ... but better late than never! Andreas - 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: efficient method for calculating min distance from point to curve
Hi Jake, If the curve is known analytically, it is an elementary minimization exercise of calculus. If your curve is just a bunch of points, then you do it numerically in JavaScript. The time depends on the number of points and the accuracy depends on the density of the points. There is no better way to estimate the time, but just by experimenting. Cheers, Samy --- In svg-developers@yahoogroups.com, Jake Beard [EMAIL PROTECTED] wrote: I have what I think must be a fairly common requirement: I need an efficient method for calculating the minimum distance from a point to a curve. It would be possible to solve this problem numerically in JavaScript, but I'm not confident that JavaScript would be efficient enough, and I'm wondering if there isn't something built into the SVG spec that might be leveraged to help with this. I'd appreciate any guidance anyone can offer. Thanks, Jake [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: efficient method for calculating min distance from point to curve
Samy, Thank you for the quick response. I am not very familiar with the mathematics of bezier curves. Is there a deterministic way of converting converting an SVG path from its representation in XML markup to an analytic representation, so that the calculus minimization may be applied? Thanks and I look forward to hearing what you think, Jake On Thu, Sep 11, 2008 at 3:37 PM, Samuel Dagan [EMAIL PROTECTED] wrote: Hi Jake, If the curve is known analytically, it is an elementary minimization exercise of calculus. If your curve is just a bunch of points, then you do it numerically in JavaScript. The time depends on the number of points and the accuracy depends on the density of the points. There is no better way to estimate the time, but just by experimenting. Cheers, Samy --- In svg-developers@yahoogroups.com svg-developers%40yahoogroups.com, Jake Beard [EMAIL PROTECTED] wrote: I have what I think must be a fairly common requirement: I need an efficient method for calculating the minimum distance from a point to a curve. It would be possible to solve this problem numerically in JavaScript, but I'm not confident that JavaScript would be efficient enough, and I'm wondering if there isn't something built into the SVG spec that might be leveraged to help with this. I'd appreciate any guidance anyone can offer. Thanks, Jake [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: efficient method for calculating min distance from point to curve
Not exactly the same subject, but an important reference for folks whose calculus with parametric curves is not what it used to be: http://www.kevlindev.com/geometry/index.htm David I recall someone (maybe Samy) posted a full solution to such a problem here within the past three months. Sounds like something to put in the community web site? - Original Message - From: Jake Beard To: svg-developers@yahoogroups.com Sent: Thursday, September 11, 2008 3:55 PM Subject: Re: [svg-developers] Re: efficient method for calculating min distance from point to curve Samy, Thank you for the quick response. I am not very familiar with the mathematics of bezier curves. Is there a deterministic way of converting converting an SVG path from its representation in XML markup to an analytic representation, so that the calculus minimization may be applied? Thanks and I look forward to hearing what you think, Jake On Thu, Sep 11, 2008 at 3:37 PM, Samuel Dagan [EMAIL PROTECTED] wrote: Hi Jake, If the curve is known analytically, it is an elementary minimization exercise of calculus. If your curve is just a bunch of points, then you do it numerically in JavaScript. The time depends on the number of points and the accuracy depends on the density of the points. There is no better way to estimate the time, but just by experimenting. Cheers, Samy --- In svg-developers@yahoogroups.com svg-developers%40yahoogroups.com, Jake Beard [EMAIL PROTECTED] wrote: I have what I think must be a fairly common requirement: I need an efficient method for calculating the minimum distance from a point to a curve. It would be possible to solve this problem numerically in JavaScript, but I'm not confident that JavaScript would be efficient enough, and I'm wondering if there isn't something built into the SVG spec that might be leveraged to help with this. I'd appreciate any guidance anyone can offer. Thanks, Jake [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/