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
Add a ment  | 

2 Answers 2

Reset to default 5

I 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
Add a ment  | 

2 Answers 2

Reset to default 5

I 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