Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. 3 ways to create a spring animation .. need help with 2 of them .. partially implemented.

3 ways to create a spring animation .. need help with 2 of them .. partially implemented.

Scheduled Pinned Locked Moved WPF
helpgame-devcsharpjavahtml
2 Posts 1 Posters 13 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Leblanc Meneses 0
    wrote on last edited by
    #1

    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

    L 1 Reply Last reply
    0
    • L Leblanc Meneses 0

      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

      L Offline
      L Offline
      Leblanc Meneses 0
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups