namansharma18899 / algo-visualizer

An Interactive Web App that let's one see different Algo's in action
MIT License
2 stars 1 forks source link

Investigate on Using P5js for animations #15

Open namansharma18899 opened 1 year ago

k-deepak04 commented 1 year ago

@namansharma18899 can you provide more details? what exactly i have to do...? investigate p5js and add it in readme?

namansharma18899 commented 1 year ago

Hey @k-deepak04. I want to replace traditional react animations with the p5js ones. So I needed a demo p5-react component to try out animations. I did test it out but there seems to be a caveat of "component duplication" when using p5.

If anyone has used p5 with react they can submit a PR with a test subject, readme is a cherry on top not a requirement as such.

image

namansharma18899 commented 1 year ago

There seems to be an issue with the Strictmode in React. ISSUE

Removing Strict mode obviously didn't work.