javascript - Canvas performance slow on Safari and IOS but running fine everywhere else -


i building infographic in canvas , experiencing poor performance on safari 10.1.1 , on ios not seeing issues elsewhere. animating 400 bitmaps across screen(on chrome able 10,000 bitmaps animating fine) , on safari , ios animations choking processor in 2 cycles. on safari @ least draws screen. on ios canvas not drawing. seeing no errors in console. un fortuantely can't share code work. has run poor performance animating bitmaps in canvas? getting slow performance 1 instance. sure doing wrong.

in drawscreen function tested this:

for(var = 0; i<100; i++){     this._context.fillstyle = this._color;//hex value string sans #     this._context.beginpath();     this._context.arc(this.getrandom(500),this.getrandom(500),this.getrandom(50),0,math.pi*2);     this._context.closepath();     this._context.fill(); } 

it works charm in other browsers in safari grinds halt.is there missing here?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -