Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 834 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 834 Bytes

Live Demo Here

I wanted the fireball to look like it was moving, so I started by applying a sine function Sine

To make it look like there are some actual flames, I added some quintic smoothed FBM FBM

Then I used a lerp on a step function on radius to get a cell-shading effect Cellshade

The upper and lower ends of the range were getting cut off, so I added some bias and gain functions to tweak the color bins and the palette Bias

I didn't like that the center of the ball just looks like a yellow ball. So I lerped with perlin noise on the lowest bar of the histogram. Perlin

Finally, for some contrast I put in a simple background. Background