Comments (2)
This is a Chrome bug unfortunately: https://bugs.chromium.org/p/chromium/issues/detail?id=1252311
Basically if you have RequestAnimationFrame
and CSS3 animations together on a page, a style recalc will be triggered on every frame. I'm afraid that this lib can do nothing about it — one workaround is to disable CSS animations when the canvas is on the viewport, or vice versa.
from cobe.
I've experienced the same issue while testing a site on a mid-range windows laptop (Intel iris integrated graphics). The webpage works fine on a Macbook Pro (much more powerful GPU) but there's a lot of jitter on the windows laptop. The globe also seems to disappear after a flash of black once I scroll down to the section of the webpage which contains the globe. I'm using around 2-3 infinite animations on the same page (marquee and rotate).
from cobe.
Related Issues (20)
- draggable & rotate-to-location with Vanilla js HOT 4
- Why does my site slow down
- Auto rotate something like blink HOT 2
- the package is not wroking with vue2 / nuxt js. HOT 6
- Cobe's playground https://cobe-playground.vercel.app/ broken on Chrome. HOT 1
- Unique marker colors HOT 3
- Wrong Page Redirect in Draggable and Rotate Showcase
- Cannot read properties of `null` (reading 'enable') - When hardware acceleration is disabled HOT 2
- Earth drawing error
- Link to source on `draggable-and-rotate.mdx` links to `draggable.mdx` instead of `draggable-and-rotate.mdx` HOT 2
- docs: improve examples by adding removeEventListener to resize events HOT 1
- Performance issues on Windows HOT 3
- Dots disappeared on Africa HOT 1
- Separate Customization of Globe and Dot Colors
- Issue with dots display
- White flash on page load (noticeable only on black/dark backgrounds) HOT 2
- Map layer
- map's dot not display on phone HOT 1
- Svelte Globe Example - Auto Rotate & Draggable
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 cobe.