Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reset #4

Open
liuxuerong opened this issue Aug 29, 2019 · 1 comment
Open

reset #4

liuxuerong opened this issue Aug 29, 2019 · 1 comment

Comments

@liuxuerong
Copy link

liuxuerong commented Aug 29, 2019

it will be reset when form inputed , used antd form

@tim-soft
Copy link
Owner

There are two scenarios where the canvas will appear to "reset"

  1. You have { cameraControls: { resetCameraFlag: true } } which is the intended behavior
  2. You've changed some setting that involves regenerating the particles/lines from scratch, in which they'd receive new initial [x, y, z] positions and velocities, such as enabling or disabling particles

Another possibility with your specific implementation is your form changes are causing a full rerender of the particle canvas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants