Procedural fire in ProtoPie
I've been wanting to create an infinite, organic, flame in ProtoPie for a while now.
I started by sketching out different styles of fire I could make, and saw a cute fire illustration in Ben Marriott's (very awesome) tutorial on creating 2D smoke in AE. I took inspiration from that illustration and created the base flame.
I separated the tendrils of the flame, and animated each of them to scale with a random duration and delay.
The real procedural magic, however, is in the sparks and embers that fly out. I used a copious amount of the Random() function, and made each spark follow a sine function along the Y-axis. Once each spark reaches a certain point on the Y-axis, it is regenerated at the base of the flame at a random position on the X-axis.
I'm planning to do an in-depth tutorial on this soon! Drop a comment if you'd like to have a look!