[svg-developers] Interactive access to interpolated states of an SVG SMIL animation

2008-11-03 Thread tim.becker80
Dear all,
I'm working with SVG interactive animation for spatio-temporal data. 
The main feature of the application I'm trying to build is a time-
slider capable of interactively controlling a SMIL animation.
Thanks to Kevin and carto.net, no need to build the slider, it's 
already available.
Ideally, I'd like the slider to reveal micro-steps, those that are 
interpolated in SMIL animation. In other words, the slider should 
dynamically control the whole sequence of a SMIL animation's frames, 
including the ones that are interpolated.
Does the present specification allow such a level of interactivity 
with the temporal dimension?

Is it possible?
Who can give me info on this or direct me towards it?

Thanks,
Tim.




-
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] Interactive access to interpolated states of an SVG SMIL animation

2008-11-03 Thread Dailey, David P.
This is an interesting question, but I'm not sure my answer will be interesting 
or definitive, but let me go ahead and make a stab at it. If I miss something 
obvious then others will likely correct the oversight:
 
My first thought was that it may be relative to what is being animated. For 
example in the case of an object following a path, we may use the path length 
methods to figure out intermediate points (see for example 
http://srufaculty.sru.edu/david.dailey/svg/curve.svg) but in the case of 
another SMIL animation, the fine-tuned control of that object within the 
animate tag does not (at least as I think about it now) reveal such.
 
On the other hand (as some people involved in fakeSMIL have probably 
leveraged), 
tag id=Qanimate attributeName=something values=a1;a2;...;an dur=k 
.../tag is pretty much the same as
function animate(){
code to assign v to proper values of [a1,a2,...,an] over dur k
code to terminate loop based on value of dur, tinytime, repeatCount and a 
loopcounter
document.getElementById(Q).setAttributeNS(null, something, v)
window.setTimeout(tinytime, animate())
}
(modulo my imprecision)
 
so another function which takes a parameter from the slider and simply moves
setAttribute of Q to something, in one static moment would probably accomplish 
exactly the same thing.
 
Of course, if the animation is complicated by having multiple attributes 
animated for differing durations and the like -- there would have to be a chunk 
of code using the above approach.
 
Can anyone thing of a more purely SMIL-y solution?
 
cheers
David



From: svg-developers@yahoogroups.com on behalf of tim.becker80
Sent: Mon 11/3/2008 9:31 AM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Interactive access to interpolated states of an SVG 
SMIL animation



Dear all,
I'm working with SVG interactive animation for spatio-temporal data. 
The main feature of the application I'm trying to build is a time-
slider capable of interactively controlling a SMIL animation.
Thanks to Kevin and carto.net, no need to build the slider, it's 
already available.
Ideally, I'd like the slider to reveal micro-steps, those that are 
interpolated in SMIL animation. In other words, the slider should 
dynamically control the whole sequence of a SMIL animation's frames, 
including the ones that are interpolated.
Does the present specification allow such a level of interactivity 
with the temporal dimension?

Is it possible?
Who can give me info on this or direct me towards it?

Thanks,
Tim.



 



-
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] new SVG Editor

2008-11-03 Thread Tiago Cardoso
Hello all,
We at inEvo (http://inevo.pt) are developing a SVG framework for
actionscript. This framework allow us to create Rich Internet Applications
to create or maipulate SVG drawing and elements. Applications to create
top-view interior designs and also Bars, concerts and events planners are
some of the possibilities.
Meanwhile, we are doing a SVG Editor. The first preview is available at
http://blog.tiagocardoso.eu/mainada/comics-sketch/2008/11/02/svg-editor-preview/

I'll be posting a live demo of it soon on the same blog. This would be
useful to create SVG code quickly without resourcing to heavy applications
like inkscape, so you can test on your own SVG applications.
Could you send any feedback regarding this preview and any opinions ?

Thanks to all of you.
Best regards,

Tiago Cardoso


[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] new SVG Editor

2008-11-03 Thread Jake Beard
Wow, very impressive! I like the pattern matching component that lets
you transform paths into basic shapes. It also seems quite fast,
certainly much faster than the other pure JavaScript-and-SVG editors
I've seen. I'm looking forward to the live demo,

Jake

On Mon, Nov 3, 2008 at 7:15 PM, Tiago Cardoso [EMAIL PROTECTED] wrote:
 Hello all,
 We at inEvo (http://inevo.pt) are developing a SVG framework for
 actionscript. This framework allow us to create Rich Internet Applications
 to create or maipulate SVG drawing and elements. Applications to create
 top-view interior designs and also Bars, concerts and events planners are
 some of the possibilities.
 Meanwhile, we are doing a SVG Editor. The first preview is available at
 http://blog.tiagocardoso.eu/mainada/comics-sketch/2008/11/02/svg-editor-preview/

 I'll be posting a live demo of it soon on the same blog. This would be
 useful to create SVG code quickly without resourcing to heavy applications
 like inkscape, so you can test on your own SVG applications.
 Could you send any feedback regarding this preview and any opinions ?

 Thanks to all of you.
 Best regards,

 Tiago Cardoso

 [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: Interactive access to interpolated states of an SVG SMIL animation

2008-11-03 Thread Frank Bruder
When the slider is moved, you can call setCurrentTime() on the root
element
http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement
First you'll have to call pauseAnimations() so the animations will not
run when the slider isn't moved.

If you need to obtain any values for the time to which you slided,
then use the respective animVal instead of getAttributeNS().

One problem which arises is how to determine the time span which the
slider should parametrize. Animations can loop indefinitely, so there
is no global end time for an animated SVG.

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

 Dear all,
 I'm working with SVG interactive animation for spatio-temporal data. 
 The main feature of the application I'm trying to build is a time-
 slider capable of interactively controlling a SMIL animation.
 Thanks to Kevin and carto.net, no need to build the slider, it's 
 already available.
 Ideally, I'd like the slider to reveal micro-steps, those that are 
 interpolated in SMIL animation. In other words, the slider should 
 dynamically control the whole sequence of a SMIL animation's frames, 
 including the ones that are interpolated.
 Does the present specification allow such a level of interactivity 
 with the temporal dimension?
 
 Is it possible?
 Who can give me info on this or direct me towards it?
 
 Thanks,
 Tim.






-
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] Performance of scripting in current browsers

2008-11-03 Thread G. Wade Johnson
Over the last few weeks, I've been doing some performance testing of
the SVG display tools I currently have access to. While I don't have
conclusive results yet, some of my results have surprised me.

The last time I tried anything close to this, browser results were
pretty bad. But the current results are much better than expected.

I'm showing the 1.8 pre-release of Squiggle (Batik) is by far the
fastest (by a factor of 2 to 4) for the kinds of tests I'm doing. What
I found really surprising is that Firefox 3.03 is currently a little
faster than Opera 9.6 in my tests.

I'm running my tests on a 1.66 GHz Core 2 Duo running Linux. The SVG
files I'm testing are instrumented versions of
http://anomaly.org/wade/projects/svgplay/wuse.svg and
http://anomaly.org/wade/projects/instruments/Instruments.svg

I'm currently trying to generate something resembling a reasonable
summary of the information including documenting my methodology and
tools. I'd also like to add more display applications to the mix to get
more of an idea of relative performance. (Unfortunately, Chrome is
still not available under Linux.shrug/)

G. Wade
-- 
Contrary to popular opinion, the plural of 'anecdote' is not 'fact'.



-
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] Performance of scripting in current browsers

2008-11-03 Thread Erik Dahlström
On Tue, 04 Nov 2008 05:41:19 +0100, G. Wade Johnson [EMAIL PROTECTED] wrote:

 Over the last few weeks, I've been doing some performance testing of
 the SVG display tools I currently have access to. While I don't have
 conclusive results yet, some of my results have surprised me.

 The last time I tried anything close to this, browser results were
 pretty bad. But the current results are much better than expected.

 I'm showing the 1.8 pre-release of Squiggle (Batik) is by far the
 fastest (by a factor of 2 to 4) for the kinds of tests I'm doing. What
 I found really surprising is that Firefox 3.03 is currently a little
 faster than Opera 9.6 in my tests.

 I'm running my tests on a 1.66 GHz Core 2 Duo running Linux. The SVG
 files I'm testing are instrumented versions of
 http://anomaly.org/wade/projects/svgplay/wuse.svg and
 http://anomaly.org/wade/projects/instruments/Instruments.svg

Interesting. On my winXP machine Opera 9.62 uses about half as much CPU as 
Firefox 3.03 to run the wuse.svg file.

How are you measuring the relative performance?

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/