mirage 0.2.0 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, andbuildPlaneMap
, a utility function to build a flat plane from aScalarField
, useful for terrain generation.
Breaking changes:
- Added
<Plattern>.get2df
, as an alternative toget2d
that takes floating point coordinates, which is required for some use cases such the aformentionedbuildPlaneMap
.get2d
still exists and is recommended for integer coordinates, and is automatically converted toget2df
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.