antvis / antvis/G6

图片节点在移动或旋转的过程中闪个不停,如何解决啊?

Open
#5,694 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

在定时器中,每隔几百毫秒就更新一次节点坐标或旋转角度,但图片节点会不停的闪烁。

### Your Example Website or App

Chrome

### Steps to Reproduce the Bug or Issue

![8V XIQ~TUDZTTRE_DHRIJT](https://github.com/antvis/G6/assets/150887390/fbc87fcc-a754-4753-9742-4222cb5180d3)

### Expected behavior

希望能解决闪烁问题

### Screenshots or Videos

https://github.com/antvis/G6/assets/150887390/47bbfa2f-a9a0-4c2a-9bf7-82671bc71d84

### Platform

Windows Chrome

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the attached image-node example in Chrome, updating its coordinates or rotation every few hundred milliseconds as described. Trace the image-node rendering path used during movement and rotation; done means the image remains stable without flickering during repeated updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.