Git Product home page Git Product logo

react-particles-webgl's People

Contributors

seans84 avatar tim-soft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-particles-webgl's Issues

.setDynamic() has been deprecated (warning)

Hello,
The following warnings are displayed when run on Chrome:

three.module.js:33602 THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead.
setDynamic @ three.module.js:33602
three.module.js:33623 THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute().

TypeError callback is not a function

hey i wanted to check this extension for my little project, i try to visit any sandbox uploaded by tim, but every time i get the typeerror, could you tell me what can be the reason behind it? i want to use 3d snowfall in my r3f scene...


`TypeError
callback is not a function
flushFirstCallback
https://308zj3k7l1.csb.app/node_modules/scheduler/cjs/scheduler.development.js:107:28
flushWork
https://308zj3k7l1.csb.app/node_modules/scheduler/cjs/scheduler.development.js:219:11
$csb$eval/channel.port1.onmessage
https://308zj3k7l1.csb.app/node_modules/scheduler/cjs/scheduler.development.js:611:30
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.
This error overlay is powered by `react-error-overlay` used in `create-react-app`.`

React Three Fiber

Your project is interesting, but it would be great to see a particle system utility built FOR react-three-fiber, instead of on top of it. I was wondering if you had any plans for something like that.

reset

it will be reset when form inputed , used antd form

raf loops aren't necessary

A small suggestion for:

requestAnimationFrame(() => controlsRef.current.update());
// Animate current state of particles + lines
requestAnimationFrame(() => animate(animation.current));

They will downgrade performance a little bit, because useRender contents are already called in a raf loop. You can simply call update functions in there. Browsers don't take multiple frame ops kindly and unifying these operations gives a little bit more room.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.