You are not logged in.



  • "jordi" started this thread

Posts: 483

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message


Wednesday, March 6th 2013, 4:18pm

calcultaing values outside in javascript

Recently I have been using a method with javascript to get the value of a variable from krpano, apply a function and return the variable by setting it in krpano...

I can see, that it is not a very quickly method, but I can extend functionallity like counting the lenght of a string ( I know it can be done with the extended Textfield) ...

Does anyone knows if it's better to make functions inside or outside krpano, for the performance side ?

thanks in advance step beyond 360



Posts: 1,048

Location: Osijek, Croatia, EU

  • Send private message


Thursday, March 7th 2013, 12:16am

I experienced that Krpano is slow doing heavy math but didn't do performance comparison with js. That would be nice if someone can provide.


Tuesday, March 12th 2013, 4:27pm

Lately I've been using Javascript for any slightly complex code. The reason is not so much performance, but the power of the language and the tools there are for debugging.
PanoTag: Facebook tagging for krpano

KRPano development and more: