Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 8 - Pages: 1 - Last Post: 20 Nov 23, 20:32 Last Post By: MarkusD
MarkusD

Posts: 864
Registered: 13-Apr-2006
Speed for panoramas is different
Posted: 20 Nov 23, 18:39
 
Hi Laza,

thanks for the improvements regarding panorama pictures. Using "Left or Top" for the start is what I like. Nevertheless the "Speed" toggle does not what I was expecting.

a) Even if I choose "Slow" the motion is way to fast.

b) The Speed for different panoramas is very different. It seems that the effective speed is calculated the wrong way. Wider pictures are played much faster than narrower ones.

Please compare some of them. The forth one will scroll very fast:

https://www.markus-drueck.de/public/2023%2010%2028%20Island/2023%2010%2028%20Island/index.html#label=Panorama

Do you confirm the different speeds? Is that what you intended? Don't you think the speed should be the same, no matter of the width?

Thanks in advance.

Link corrected.
Laza

Posts: 1,500
Registered: 6-Sep-2005
Re: Speed for panoramas is different
Posted: 20 Nov 23, 18:58   in response to: MarkusD in response to: MarkusD
 
The speed should be constant across pictures, whatever their width is. There's only one constraint that could change it: the animation should be at least 1.5sec, and less than 20 secs. Here's the calculation:
duration = 1000 * Math.minMax(1.5, Math.abs(distance) / settings.speed, 20)

Possibly your panorama is too wide and would take more than 20 seconds to move from left to right. Perhaps I should adjust the max. time limit when one chooses the slow speed.
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: Speed for panoramas is different
Posted: 20 Nov 23, 19:30   in response to: MarkusD in response to: MarkusD
 
MarkusD wrote:
Please compare some of them.

Bad link.
MarkusD

Posts: 864
Registered: 13-Apr-2006
Re: Speed for panoramas is different
Posted: 20 Nov 23, 19:37   in response to: Laza in response to: Laza
 
Laza wrote:
The speed should be constant across pictures, whatever their width is. There's only one constraint that could change it: the animation should be at least 1.5sec, and less than 20 secs. Here's the calculation:
duration = 1000 * Math.minMax(1.5, Math.abs(distance) / settings.speed, 20)

Thanks for your fast response.

In my opinion there should be no minimum or maximum time at all.

Perhaps I should adjust the max. time limit when one chooses the slow speed.

Sounds good. Thanks.
MarkusD

Posts: 864
Registered: 13-Apr-2006
Re: Speed for panoramas is different
Posted: 20 Nov 23, 19:41   in response to: JeffTucker in response to: JeffTucker
 
Thanks for hint, I corrected it.
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: Speed for panoramas is different
Posted: 20 Nov 23, 19:53   in response to: MarkusD in response to: MarkusD
 
MarkusD wrote:
Thanks for hint, I corrected it.

That's better. :)

Totally off-topic, but your trademark "humongous folder descriptions" are tripping you up again:

https://www.markus-drueck.de/public/2023%2010%2028%20Island/2023%2010%2028%20Island/
MarkusD

Posts: 864
Registered: 13-Apr-2006
Re: Speed for panoramas is different
Posted: 20 Nov 23, 20:12   in response to: JeffTucker in response to: JeffTucker
 
JeffTucker wrote:
Totally off-topic, but your trademark "humongous folder descriptions" are tripping you up again:

https://www.markus-drueck.de/public/2023%2010%2028%20Island/2023%2010%2028%20Island/

I don't want to tell a story only with the pictures, actually I also want to tell a story with words. :-)

But I changed the "design" of the folders, only the map is visible by default, all other "panels" "Weather forecast" etc, are closed. What I try to do is to have all panels closed by default and let the user decide if the first panel will be open in the future and store this as a kind of a cookie, but without success so far. Time will tell. :-)
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: Speed for panoramas is different
Posted: 20 Nov 23, 20:14   in response to: MarkusD in response to: MarkusD
 
Attachment ss012062.png (86.5 KB)
MarkusD wrote:
I don't want to tell a story only with the pictures, actually I also want to tell a story with words. :-)

Very informative, to include a bunch of JS variables in clear text. Visitors will be amazed. ;)
MarkusD

Posts: 864
Registered: 13-Apr-2006
Re: Speed for panoramas is different
Posted: 20 Nov 23, 20:32   in response to: JeffTucker in response to: JeffTucker
 
JeffTucker wrote:
MarkusD wrote:
I don't want to tell a story only with the pictures, actually I also want to tell a story with words. :-)

Very informative, to include a bunch of JS variables in clear text. Visitors will be amazed. ;)

OK, now I got what you mean. Yes that is a problem. This is because my comments starts with some code. I have no idea how to workaround that problem.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums