Skip to content

liunicholas6/hw01-fireball

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 50.8%
  • GLSL 47.8%
  • JavaScript 1.4%