-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f140784
commit 30ded6f
Showing
4 changed files
with
8,982 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Examples | ||
|
||
## Read Expression File | ||
|
||
```bash | ||
cargo run --example read_file | ||
``` | ||
|
||
This example reads an exported expression `.ron` file and returns `NoiseFn` implementations with | ||
different variable values. You may export any expression in the desktop app by right-clicking on the | ||
node. | ||
|
||
## Complex Planet (stress test) | ||
|
||
The included `complexplanet.ron` file is a project file which may be opened in the desktop app. It | ||
is a recreation of | ||
[`complexplanet.rs`](https://github.com/Razaekel/noise-rs/blob/develop/examples/complexplanet.rs) | ||
from [Noise-rs](https://github.com/Razaekel/noise-rs). | ||
|
||
Opening the project will take a few minutes while all the preview images are recreated. Any changes | ||
to the final nodes will also cause lots of computation and slow down the UI a little, although it | ||
should remain responsive. | ||
|
||
> [!NOTE] | ||
> Future changes to `noise_gui` will focus on making files of this size easier to understand and | ||
> edit. | ||
Once loaded it should look like this: | ||
|
||
![Screenshot of a project loaded in the noise_gui program](../.github/img/complexplanet.png) |
Oops, something went wrong.