Open n3m3sis00 opened 3 years ago
This might suggest the need to use something such as HTML5 canvas for the MSA also. Large sequences do indeed end up producing a lot of nodes
This might suggest the need to use something such as HTML5 canvas for the MSA also. Large sequences do indeed end up producing a lot of nodes
Yes we can introduce html canvas, what I was thinking of using a GPU accelerated library(like Three.js) as well.
Canvas should be fast enough and canvas is GPU accelerated in most browsers such as chrome. Canvas just doesn't use webgl, which three.js does
Also, just to be clear about what causes the slowdown, it is large numbers of DOM nodes. Browsers cannot handle tens of thousands of DOM nodes basically. Canvas just "draw" rather than render to DOM nodes so this is why they are faster.
what causes the slowdown, it is large numbers of DOM nodes.
Yes exactly
I Will try to port Current MSA component to Canvas
Sounds good:)
ENSGT00390000003602
crashes the browser.FIX:
Edit: Without color MSA renders smoothly : https://n3m3sis00.github.io/phylo-demo/ [on this click EnsemblDemo No Color]