admin管理员组文章数量:1024091
I would like to create a particle effect in the background of my react-native app.
I am looking for something like this: .js/
I can't seem to find a package that does the job.
Thanks in advance!
I would like to create a particle effect in the background of my react-native app.
I am looking for something like this: http://vincentgarreau./particles.js/
I can't seem to find a package that does the job.
Thanks in advance!
Share Improve this question asked Jun 18, 2017 at 21:36 Web WeaveWeb Weave 1602 silver badges7 bronze badges 3- ...You linked to a package that does exactly what you want. – Obsidian Age Commented Jun 18, 2017 at 21:39
- 2 @ObsidianAge That package doesn't work in react-native since it needs the document – Web Weave Commented Jun 18, 2017 at 21:47
- Did you find any solutions to this? I am looking into doing something similar. – robabby Commented Aug 29, 2017 at 17:21
2 Answers
Reset to default 5I ended up creating my own library react-native-particles
The trick for getting a good performance was to pre-calculate the particle path and then use the Animated
API with useNativeDriver:true
.
Use react-native webview as Background
I would like to create a particle effect in the background of my react-native app.
I am looking for something like this: .js/
I can't seem to find a package that does the job.
Thanks in advance!
I would like to create a particle effect in the background of my react-native app.
I am looking for something like this: http://vincentgarreau./particles.js/
I can't seem to find a package that does the job.
Thanks in advance!
Share Improve this question asked Jun 18, 2017 at 21:36 Web WeaveWeb Weave 1602 silver badges7 bronze badges 3- ...You linked to a package that does exactly what you want. – Obsidian Age Commented Jun 18, 2017 at 21:39
- 2 @ObsidianAge That package doesn't work in react-native since it needs the document – Web Weave Commented Jun 18, 2017 at 21:47
- Did you find any solutions to this? I am looking into doing something similar. – robabby Commented Aug 29, 2017 at 17:21
2 Answers
Reset to default 5I ended up creating my own library react-native-particles
The trick for getting a good performance was to pre-calculate the particle path and then use the Animated
API with useNativeDriver:true
.
Use react-native webview as Background
本文标签: javascriptCreate particle effect in reactnativeStack Overflow
版权声明:本文标题:javascript - Create particle effect in react-native - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745518531a2154202.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论