mirage 0.2.0 copy "mirage: ^0.2.0" to clipboard
mirage: ^0.2.0 copied to clipboard

Generate noise and patterns algorithmically for use in software, textures, and graphics.

Changelog #

0.2.0 #

New features:

  • Added ScalarField, a 2-dimensional field of scalar values, typically built from patterns or noise functions, and buildPlaneMap, a utility function to build a flat plane from a ScalarField, useful for terrain generation.

Breaking changes:

  • Added <Plattern>.get2df, as an alternative to get2d that takes floating point coordinates, which is required for some use cases such the aformentioned buildPlaneMap. get2d still exists and is recommended for integer coordinates, and is automatically converted to get2df when needed.

Bug fixes:

  • Fixed a variety of small math bugs that are hard to describe in detail.

0.1.0+1 #

  • Update preview images in README.

0.1.0 #

  • Initial release.
3
likes
150
points
26
downloads

Publisher

verified publisherlurey.dev

Weekly Downloads

Generate noise and patterns algorithmically for use in software, textures, and graphics.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

chaos, meta

More

Packages that depend on mirage