atheriel / grunge Goto Github PK
View Code? Open in Web Editor NEWA coherent noise library in its very early stages.
A coherent noise library in its very early stages.
Right now seed
is an unused argument to the simplex function. It should be fairly easy to use the seed as an offset in the permutation, which would give 289 variants instead of the current 1.
At present, one cannot do
let noise = PinkNoise::new(101).scalebias(5.5, 2.0).clamp(0.0, 5.0);
the conversion to using Box
'd types should fix this.
At the moment NoiseModule.generate_2d()
takes a Vector2
provided by cgmath. At the time I wrote them this seemed like a good choice. However, I think it now serves as a barrier to entry, and makes the API more confusing. It should be removed in favour of regular ol' x
and y
parameters.
This would bring the library up to part with libnoise and CoherentNoise on this front.
This would bring the geometric primitives up to part with libnoise and CoherentNoise.
I noticed while writing the examples that having extern crate cgmath
at the top of every file that uses even basic functionality is a little odd. This could be fixed by using Rust's re-exporting features. I know this approach is recommended by some other Rust game math libraries.
In addition to closing other issues, a full 1.0 release should also included:
Those provided by Libnoise and CoherentNoise are equivalent to:
This should also entail adding generate()
to NoiseModule
, making 2D opt-in instead of the default.
This would ideally include:
It is not clear that owner pointers are better than shared pointers, especially if one wanted to update the source module. Since this should be memory safe, that might be a more sensible option than cloning boxes, as is done at the moment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.