Programming My Own Trading Chart - Part 10

avatar

Screenshot_20230219_230917.png

Back in December I refactored, rewrote and built a new key parts of the code. This finally brought about truly independent chart instances, and responsive chart layout.

But upon testing, one of the ongoing complaints, the glitchy scrolling was still an issue. So once again I have embarked upon a build back better program. The chart has been stripped back to the bare layout components. With this skeleton, I will add the scrolling and work on it until I crack it.

I have already made use of requestAnimationFrame() and seen some improvement. The layer rendering went through an overhaul and consequently duplications and bugs were also weeded out. Unfortunately, still no dice.

My attention then went to researching HTML5 game engines, specifically extremely light weight ones. The js13kGames project caught my attention. From their website:

js13kGames is a JavaScript coding competition for HTML5 Game Developers running yearly since 2012. The fun part of the compo is the file size limit set to 13 kilobytes.

I want a small amount of code but highly performant. These game engines look like a good place to start. Once I have the scrolling licked, I'll start adding features back in and testing performance until I reach the existing the existing level of functionality. I should then be able to identify any other bottlenecks that are causing problems and solve then.

Posted Using LeoFinance Beta



0
0
0.000
1 comments
avatar

Congratulations @leoplaw! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You have been a buzzy bee and published a post every day of the week.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

The Hive Gamification Proposal
Support the HiveBuzz project. Vote for our proposal!
0
0
0.000