The source code and compiled binary can be found on codeberg!
- Repo: codeberg.org/kirisoup/bta_wire_goggle
- Binary: .../releases/latest
Note: currently only windows binary is provided, but it is trivial to compile it targeting your os with zig
This is a hobby project.
It is a binary executable. I promise it is not a virus (send me your bitcoins), but if you are worried, the codebase is quite small and can be trivially reviewed.
It will (hopefully) not blow up your PC, but the correctness of its evaluated results are not thoroughly tested either.
Command Usage:
Code: Select all
> ./bta_wire_goggle.exe help
usage: ./bta_wire_goggle <command> ...
command:
- help
- hash <pos> [-d | -x | -b]
output the hash of a given position.
-d: decimal (default), -x: hex, -b: binary
- bucket <pos>
output the bucket index of a given position.
- sides <pos>
output the neighboring positions.
- sides hash <pos> [-d | -x | -b]
output the hash of the neighboring positions.
- sides bucket <pos>
output the bucket index of the neighboring positions.
- order <pos> [-m]
output the update order of the neighboring positions.
-m: minimum output
- render <origin> <width/8> <side1>:<side2> [-x | -y | -z]
for each position in range, evaluates if side1 is updated before side2,
and renders the result to standard output.
use 'render ... > file.pbm' to write to file.
origin: the center of the plane.
width/8: width of the plane / 8.
side1 and side2: accepts W, E, U, D, N, S.
-x, -y (default) and -z: the axis normal to the rendered plane.
e.g. -y represents the XZ plane.
- render create <origin> <width> <side1>:<side2> [-x | -y | -z]
same as the previous, but creates a file that is named based on the provided
args and renders to it.
pos:
three numbers (only containing '0'...'9', but can begin with '-')
separated by non-number charaters.
examples: "0 1 2", "(-10, 11, 12)", ".{ 420; 69; 420 }

