3 ways to create a spring animation .. need help with 2 of them .. partially implemented.
-
I want to start making my wpf user interfaces more interactive. i am starting with a spring animation similar to http://www.myphysicslab.com/spring2d.html download my project: "FirstAnimation" here: http://files.mixhacks.com/FirstAnimation.zip[^] There are 3 attempts in the project: 1) is based off RungeKutta4 class found in "Practical WPF Graphics Programming by Jack Xu" ... i'm missing something which after days of reading and hours of troubleshooting i haven't been able to fix.... anyone? 2) is an attempt to create my own solution using something i can more easily digest... vectors. however again it has a problem. It does oscillate but .... take a look note: it uses the vector3 class found here on codeproject. 3) the last one works .. which is based off Keith Peters flash book.... although the animation looks good its not real physics.... Foundation Actionscript 3.0 Animation: Making Things Move! it doesn't compare to the 2d spring example above. I'm posting this here in hopes that someone can shed some light to a newbie in animation and game programming with wpf. Lastly.... are there any wpf projects attempting to bring compiz to normal devs? http://compiz.org/Home/Screenshots to normal devs in wpf? http://www.youtube.com/watch?v=wOPOXSoArWQ http://news.opensuse.org/2007/09/04/sneak-peeks-at-opensuse-103-compiz-and-compiz-fusion/ http://en.opensuse.org/Compiz\_Fusion - see the alternative projects section for projects similar to compiz
-
I want to start making my wpf user interfaces more interactive. i am starting with a spring animation similar to http://www.myphysicslab.com/spring2d.html download my project: "FirstAnimation" here: http://files.mixhacks.com/FirstAnimation.zip[^] There are 3 attempts in the project: 1) is based off RungeKutta4 class found in "Practical WPF Graphics Programming by Jack Xu" ... i'm missing something which after days of reading and hours of troubleshooting i haven't been able to fix.... anyone? 2) is an attempt to create my own solution using something i can more easily digest... vectors. however again it has a problem. It does oscillate but .... take a look note: it uses the vector3 class found here on codeproject. 3) the last one works .. which is based off Keith Peters flash book.... although the animation looks good its not real physics.... Foundation Actionscript 3.0 Animation: Making Things Move! it doesn't compare to the 2d spring example above. I'm posting this here in hopes that someone can shed some light to a newbie in animation and game programming with wpf. Lastly.... are there any wpf projects attempting to bring compiz to normal devs? http://compiz.org/Home/Screenshots to normal devs in wpf? http://www.youtube.com/watch?v=wOPOXSoArWQ http://news.opensuse.org/2007/09/04/sneak-peeks-at-opensuse-103-compiz-and-compiz-fusion/ http://en.opensuse.org/Compiz\_Fusion - see the alternative projects section for projects similar to compiz
the vector version is looking a lot better. http://files.mixhacks.com/FirstAnimationv0.2.zip[^] heres the setup http://files.mixhacks.com/animation.setup.jpg[^] another day and i might actually be done with the vector based one. can anyone help with the RungeKutta4 version... i'm totally lost on that implementation.