Comments (1)
Hello
Every time you update content of html-gl element you do rasterization
operation and uploading rasterized content to GPU. You may try making every
list item a new html-gl. This will not update the rest.
2015-10-09 22:45 GMT+02:00 goersen [email protected]:
Hi,
I'm currently reviewing some Web-GL Frameworks regarding their
performance, featureset etc.
HTML-GL looks very much like an awesome job done, great work!But I'm having an Issue regarding some basic functionality on
<title></title> <script src='vendor/htmlgl/htmlgl.min.js'></script> <script src='vendor/htmlgl/htmlgl-effects.min.js'></script>
DOM-Manipulation. Consider this super simple page:Test HTML-GLTest Plain HTML<script type="text/javascript"> window._testGL = document.getElementById('test-gl'); window._testPlain = document.getElementById('test-plain'); window._str = ''; for (var i = 0; i < 100; i++) { window._str += ''; }; console.log('string prepared'); window._running = false; window._start = function(element) { if(window._running) { return; } window._running = true; window[element].innerHTML = window._str; }</script>hello worldthe contentTry it and you will see, that HTML-GL takes some time, while plain HTML
renders everything instantly. Increasing the loop-counter will eventually
break the canvas.This is just a List of 100 unstyled items simulating a title and content,
so I assume I'm doing something wrong. Could you point me in the right
direction, or are Item-Lists (i.e. a few more elements) something HTML-GL
is not made for?Thanks and keep up the awesome work!
—
Reply to this email directly or view it on GitHub
#65.
from html-gl.
Related Issues (20)
- I need an explanation HOT 2
- Support CSS matrixes for transformations HOT 1
- effects-manager add
- You do not need to use a PIXI Stage any more
- Advanced demo bugs HOT 2
- Documentation on HTML/CSS support? HOT 1
- [Feature Request] - Native parallax!
- Images not being displayed
- [Question] Status of HTML-GL v2 HOT 3
- Ionic 3 Error: "Cannot find module html-gl" HOT 2
- HTML-GL can be used to render to video? HOT 4
- Absolute positioning on top-level element causes it not to render
- border-radius 50% is ignored
- Incompatible with bootstrap HOT 3
- Will it boost css rendering generally or only animations? HOT 1
- When v.2 is going to be released? HOT 2
- Selecting text
- General Question: Can this library be used in conjunction with Animate.css ? HOT 1
- Mouse Events in v2.
- Cleanup non issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html-gl.