codewithher / CC-Lantern

Wrapper library for programming cultural lanterns.
GNU General Public License v3.0
0 stars 0 forks source link

19 feature fire randomness activity #42

Closed totally-not-frito-lays closed 2 months ago

totally-not-frito-lays commented 2 months ago

Why: Created a fire activity using smoothing randomness algorithm called perlin noise.

Closes the following issues (all PRs must close an issue):

What's being changed

Created a new library file which implements perlin 1D and 2D perlin noise under the RNG class.

Also added a new example describing how to use the new noise function in a fire activity.

Testing Instructions

Describe the ways to test it and any relevant information.

  1. Using numbers to demonstrate the order of actions to take is great

Check off the following

[^1]: See CONTRIBUTING.md for more information on version semantics