You are not logged in.

## Krpong

Intermediate

Posts: 507

Location: Barcelona

Occupation: creating ideas & coding them

Friday, November 8th 2013, 11:18am

great experiments !!!
everpano.com step beyond 360

Sage

Posts: 3,347

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

Friday, November 8th 2013, 4:53pm

I have quite a lot actualy..
Tuur
http://www.virtualtuur.com
Skype:studiotuur

Intermediate

Posts: 227

Location: Mexico City

Occupation: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

Wednesday, November 13th 2013, 8:09pm

Hey Tuur, good one!

Very nice example of what can be achieved with Krpano, you deserve a complete round of beers for that one. I'm also a big fan of your experiments with the viewer, they may not have the most fanciful graphics but I think they are nice creative examples about what can be achieved with this platform.

Now, as Nupsi stated before, the movement of the ball has still some "bugs", I found this well explained example of a bouncing ball coded in Javascript and HTML5 which can be helpful for your next version of "Krpong" (hehe, loved the name):

http://sixrevisions.com/html/bouncing-a-…and-javascript/

In the end this "bug" is more a physics problem that a math one (although math are the ones used to describe this movement). Physics for this case state that incident angle must equal reflection angle and linear speed must be the same after the collision for energy to preserve. If you just spread ball's velocity in it's horizontal and vertical components then it's pretty easy to do this as you just have to invert the component in which the collision was made each time the ball hits the wall/racket, that will give realism to the ball.

If you're curious about the physics of this movement then you can google "ball wall elastic collision", it's high school physics so you hopefully you won't find much deep math there.

Cheers!

Luis

Sage

Posts: 3,347

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

Wednesday, November 13th 2013, 8:23pm

Thanks Luis,

### Quoted

..they may not have the most fanciful graphics...

i'm very much aware of that. in these technical tests and exercises i don't put too much time in that..

i'm gonna have a study on the ball… thanks for the link!

Tuur
http://www.virtualtuur.com
Skype:studiotuur

Intermediate

Posts: 227

Location: Mexico City

Occupation: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

Thursday, November 14th 2013, 5:55pm

### Quoted

i'm very much aware of that.

Yeah, I know that, don't take me wrong here, they're just tests and doesn't require fancy graphics.

By the way, I didn't know your bathtub pano, great interactive example, I'm still thinking about how to get that one. ¿synchronized distorted hotspots for the ship? ¿I guess?

Regards

Luis

Sage

Posts: 3,347

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

Thursday, November 14th 2013, 8:06pm

hehe,
well the bathroom is a preview on a bit higher quality (the saturation is done by aldo's image adjust plugin btw)

the 2nd pano are 6 hotspots with transparency (imagine cutting that all out … :-/) , they wobble over 3 axis in 3 random times.
The duck is just behind the hotspots(order wise..

I could never make this without the help of Aldo btw.. it ws a nice example for the vector math plugin from him as well.

Cheers
Tuur
http://www.virtualtuur.com
Skype:studiotuur

Intermediate

Posts: 227

Location: Mexico City

Occupation: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

Monday, November 18th 2013, 12:46am

Hey Tuur, thanx for the explanation!

### Quoted

imagine cutting that all out … :-/

Hehe, I think there are not much more crazy krpanoers in this world which would take the time to take things at that level of detail. But in the end the efford payed off, it's a nice example as you say of the vector math plugin, but also a very original one.

Cheers and hope to see Krpong 2.0 soon.

Luis