Conversation
|
Hi, I had a quick look at your Julia API, it doesn't look like it supports setting node variables or creating node trees from "Encoded Node Tree" strings. Without support for these it means most of the features in the FastNoise2 library are inaccessible. I don't want to include a link to this unless there is full API support. Have a look at the C# bindings, you should be able to copy how it is implemented there. Thanks |
|
OK, actually the bindings are all available at https://github.com/JuliaReinforcementLearning/FastNoise2.jl/blob/master/src/LibFastNoise.jl . This means it provides the full API support in a nutshell. It's just that I added some extra handy functions for generating noise to make the usage more Julian. I'll take a look into the C# code to see if I can improve further. |
|
Just having access to the raw C API isn't very usable, since the FastNoise2 API provides the node metadata as IDs. See the C# example usage here: https://github.com/Auburn/FastNoise2Bindings/blob/master/CSharp/test/BitmapGenerator.cs It's possible to set a node variable using the variable name as a string |
This package is awesome!
The APIs are really concise, which makes it very easy to provide a Julia binding with the C API.