Author Topic: physics  (Read 12586 times)

bolbo

  • Guest
Re: preview of physics example coming in v0.6
« Reply #15 on: July 25, 2013, 02:43:29 PM »
I had only tested the Coffephysics samples on Opera, now I've tried them on other browsers.
Opera: it works very well ; Chrome: It works but performs worse ; Firefox : seems to work only with canvas. I had not tested them on Safari or ios because I don't own any portable device.
As for coffescript seems to be just a number of preprocessors that compile directly to javascript.
There you have more information about the engine, an interview with the developer and a review of the engine on several browsers.
http://badassjs.com/post/18503583619/coffeephysics-a-fast-new-physics-engine-written-in
http://blog.duncanhall.net/2012/03/painting-pixels-with-easeljs-and-coffee-physics/

I have read that most of the current physics engines for javascript are ports from other languages more focused on features than on performance. My only point it was to remark that performance may be not only a matter of hardware requirements but also compatibility with browsers.   
« Last Edit: July 25, 2013, 03:14:57 PM by bolbo »

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: preview of physics example coming in v0.6
« Reply #16 on: July 25, 2013, 03:26:42 PM »
WebGL is enabled on my Firefox on Windows here, all I get is a grey image.
Guilects phyiscs example works fluently on my old Core2Duo with 60 fps. This should work even better on a i3?

EDIT: All other examples on that webpage are working, though. Don't know why the physics example does not work on any of my computers ...
« Last Edit: July 25, 2013, 03:35:20 PM by Cybermonkey »

bolbo

  • Guest
Re: preview of physics example coming in v0.6
« Reply #17 on: July 26, 2013, 04:08:36 PM »
@Cybermonkey
perhaps your problem is related with the user interface of that page, could you try the same samples located on the githup server:
http://soulwire.github.io/Coffee-Physics/

By the way, coud anyone check if Guilect's sample works on mobile devices ?

SteveOW

  • Guest
Re: preview of physics example coming in v0.6
« Reply #18 on: August 30, 2013, 12:05:07 PM »
@Guilect
Maybe rename this thread to "BB Physics"  i.e. drop the "Preview" ?

I am getting pretty good 35 to 55 fps on the physics example on my Tablet when using Firefox browser.  Chrome and Samsung not so good.

But the app is designed for key control, not for touch, so I cant interact with it on the tablet.





Guilect

  • Guest
Re: physics
« Reply #19 on: August 30, 2013, 12:45:27 PM »
@SteveOW
That is a good frame rate from a tablet.
Glad to hear it.