mirror of
https://github.com/rzmk/ladderz.git
synced 2025-12-19 06:59:25 +00:00
docs: include demos from assets, add lz demo GIF
This commit is contained in:
parent
47ee3c8e23
commit
8bb474f207
1 changed files with 8 additions and 3 deletions
11
README.md
11
README.md
|
|
@ -10,9 +10,14 @@ The `ladderz` project is a collection of math and tech concepts implemented in c
|
||||||
|
|
||||||
## Demos
|
## Demos
|
||||||
|
|
||||||
|
### ladderz Library Demo
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
### `lz` CLI Demo
|
### `lz` CLI Demo
|
||||||
|
|
||||||
### ladderz Library Demo
|

|
||||||
|
|
||||||
## CLI Example
|
## CLI Example
|
||||||
|
|
||||||
|
|
@ -48,13 +53,13 @@ We can use the `--raw` flag to get the raw output of the function:
|
||||||
lz prealgebra get-factors 12 --raw
|
lz prealgebra get-factors 12 --raw
|
||||||
```
|
```
|
||||||
|
|
||||||
The printed output should be:
|
The printed output may be:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
{1, 2, 3, 4, 6, 12}
|
{1, 2, 3, 4, 6, 12}
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the numbers may not be sorted.
|
Note that the numbers may not be sorted since the `get_factors` function implemented in the ladderz library returns a `HashSet<u32>`.
|
||||||
|
|
||||||
## Library Example
|
## Library Example
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue