Compare commits

..

No commits in common. "816f871fa339adbc58067179b2a37b2a4db9ea0c" and "c23c9127891a93877d97098d3b35ca686c6172c6" have entirely different histories.

2 changed files with 2 additions and 9 deletions

View file

@ -9,7 +9,7 @@ Now has a 3d mode!
Current blog posts about this project: Current blog posts about this project:
- [Language Review: Lua](https://starbeamrainbowlabs.com/blog/article.php?article=posts/070-Language-Review-Lua.html) (2D maze generator) - [Language Review: Lua](https://starbeamrainbowlabs.com/blog/article.php?article=posts/070-Language-Review-Lua.html) (2D maze generator)
- [3D mazes with Lua, OpenSCAD, and Blender](#coming-soon) (https://starbeamrainbowlabs.com/blog/article.php?article=posts/429-lua-blender-mazes.html) - [3D mazes with Lua, OpenSCAD, and Blender](#coming-soon) (coming soon!)
![Some renders in Blender with cycles of the output of the 3D maze generator](https://starbeamrainbowlabs.com/blog/images/20200831-mazes/mazes-small.png) ![Some renders in Blender with cycles of the output of the 3D maze generator](https://starbeamrainbowlabs.com/blog/images/20200831-mazes/mazes-small.png)
@ -64,13 +64,6 @@ lua main.lua maze3d_openscad -w 15 -h 15 -d 17 -f 15x15x17.scad
openscad -o 15x15x17.stl 15x15x17.scad openscad -o 15x15x17.stl 15x15x17.scad
``` ```
Users who have sh (Bash works too) installed can use the `maze` wrapper script instead:
```bash
./maze maze3d_openscad -w 15 -h 15 -d 17 -f 15x15x17.scad
./maze maze -w 25 -h 25
```
![(Horizontal line)](https://starbeamrainbowlabs.com/blog/images/20200831-mazes/hr.png) ![(Horizontal line)](https://starbeamrainbowlabs.com/blog/images/20200831-mazes/hr.png)
## Contributing ## Contributing

2
maze
View file

@ -1,4 +1,4 @@
#!/usr/bin/env sh #!/usr/bin/env bash
cd "$(dirname "$(readlink -f "$0")")" || { echo "Error: Failed to cd to script directory" >&2; exit 1; }; cd "$(dirname "$(readlink -f "$0")")" || { echo "Error: Failed to cd to script directory" >&2; exit 1; };
exec lua main.lua "${@}"; exec lua main.lua "${@}";