Compare commits

...

2 commits
v0.0.1 ... main

Author SHA1 Message Date
sam
32e832d0f4 Add README 2025-03-08 11:47:34 +13:00
sam
1cc937d19f fix build.bat 2025-03-08 11:42:31 +13:00
2 changed files with 22 additions and 2 deletions

20
README.md Normal file
View file

@ -0,0 +1,20 @@
# Sand Image
This image format stores a seed and colors for pixel ids in a sand simulation
# Building
You need the odin compiler installed on your machine, there are releases if u dont want to install it
```
build.sh
```
or
```
build.bat
```
# Usage
You can convert images to sand images with
```
./converter <input image filename> <output image filename>
```
You can view sand images with
```
./viewer <sand image filename>
```

View file

@ -1,2 +1,2 @@
odin build . -out:converter
odin build . -out:viewer -define:MAKE_CONVERTER=false
odin build . -out:converter.exe
odin build . -out:viewer.exe -define:MAKE_CONVERTER=false