Author Topic: Firework  (Read 20874 times)

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Firework
« on: October 01, 2009, 05:47:35 pm »
This is a simulation of firework.
Why there is a delay of the sound?

Can you estimate how far you are away from the place if the delay time is 0.8 second?

Enjoy it!

Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • Please feel free to post your ideas about how to use the simulation for better teaching and learning.
  • Post questions to be asked to help students to think, to explore.
  • Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!

aufche

  • Newbie
  • Posts: -8
Re: Firework
« Reply #1 on: November 05, 2009, 09:34:41 am »
i can running this in my cell phone...? please reply me...

-*-

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Firework
« Reply #2 on: November 05, 2009, 02:46:47 pm »
More information are required to know what might cause the problem.
Can it view other java program? Can you provide error message from java console?

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Firework
« Reply #3 on: August 10, 2011, 04:23:42 pm »
i suspect your current applet's implementation of the sound
sound1 =flying up
sound2 = explode

does not coincide with real fireworks
for example i check this video
http://youtu.be/xF9I-9bzyhE
<iframe width="425" height="349" src="http://www.youtube.com/embed/xF9I-9bzyhE" frameborder="0" allowfullscreen></iframe>
the sound starts from xi after immediate after t2=t-delta

can check? i found a bug i think after i set delta = 0; the flying and the sound1 does not coincident
 ;D

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Firework
« Reply #4 on: August 10, 2011, 05:40:21 pm »
i made a remixed version.

will post on my board as well :)

enjoy!

i identified a bug as td = 0; // instead of the older td = 1.0

Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • Please feel free to post your ideas about how to use the simulation for better teaching and learning.
  • Post questions to be asked to help students to think, to explore.
  • Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!