flame icon indicating copy to clipboard operation
flame copied to clipboard

Noise algorithms

Open spydon opened this issue 2 years ago • 3 comments

Problem to solve

We closed #1263 since we don't want to duplicate functionality already provided by other packages in the dart ecosystem and since it wasn't necessary for anything internally in the engine (yet). However, we are not sure whether https://github.com/frankpepermans/fast_noise/ is actively maintained so that we could add 1d noise in there that @st-pasha wanted.

Proposal

  1. Contact the author of fast_noise to see whether they would be up for accepting PRs or not. (@frankpepermans)
  2. If 1 doesn't work, possibly fork that library under blue fire and release it with some other name.

This will give more value to the Flutter+Dart community than having it bundled into Flame.

spydon avatar Dec 30 '21 00:12 spydon

As it turns out, we already have implementation of one kind of noise available: the SimplexNoise class in the vector_math_64 library (also adopted from Stefan Gustavson's work). Unfortunately, they don't have 1d noise either.

st-pasha avatar Jan 15 '22 02:01 st-pasha

Hey guys,

Wouldn't mind helping out if still needed, gladly accept PRs for fast_noise.

frankpepermans avatar Jan 15 '22 03:01 frankpepermans

That's aweseme @frankpepermans, thanks for the reply.

spydon avatar Jan 15 '22 15:01 spydon

Closing this since we now have flame_noise which we can continue to add more algorithms to.

spydon avatar Sep 11 '23 19:09 spydon