drawcall / Proton

Javascript particle animation library
https://drawcall.github.io/Proton/
MIT License
2.42k stars 275 forks source link

About color #82

Closed king514jy closed 3 years ago

king514jy commented 3 years ago

https://codepen.io/king514jy/pen/dyMOzMJ The angle becomes invalid after adding color

drawcall commented 3 years ago

https://github.com/drawcall/Proton#remarks

Use Proton.Body and Proton.Color at the same time. I suggest you'd better use the WebGLRenderer not CanvasRenderer.