pixi-projection falling leaves #7834
onetrickwolf
started this conversation in
Show and tell
Replies: 3 comments 7 replies
-
In firefox 92 i got this error in console:
|
Beta Was this translation helpful? Give feedback.
4 replies
-
Just updated it to add some flickering lights with pixi-lights :) also updated the link: https://onetrickwolf.github.io/pixijs-intro-falling-leaves/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
A bit of a tangent here, but do you have some documentation/tutorial on how to load up pixi inside an obs source/scene? I know my pixi but I am a bit of a newbie with obs 😅 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
pixijs-intro-example.mp4
Hey I used
pixi-projection
andgsap
to recreate a falling leaf codepen I found with PixiJS!This was made to be for Twitch stream overlays and intros so it has Twitch integration too where when people type emotes it will make them fall as a leaf as well. It converts the GIFs to WebMs and uses them as video textures.
If you want to test it out here's GitHub page I put up and you can add
?channel=twitch_username
if you'd like to test out the emote feature.https://onetrickwolf.github.io/pixijs-intro-falling-leaves/?channel=onetrickwolf
Here's the source: https://github.com/onetrickwolf/pixijs-intro-falling-leaves/
Any feedback appreciated!
Still far from perfect but really happy with this initial test love working with PixiJS! I plan to make some more polished versions of these will post when I have more!
Also just some fun facts but it can handle about ten thousand leaves on my computer before I start to drop FPS which is pretty crazy. A lot of the performance drop seems to come from GSAP too as well not sure why, I tried writing my own tweening in a ticker and was able to get way better performance so I may do that in the future.
Here's the original codepen it is based off of but seems to be broken for some browsers: https://codepen.io/MAW/pen/KdmwMb
Beta Was this translation helpful? Give feedback.
All reactions