A general-purpose voxel programming environment.
The js-voxel
package in
the official Racket package repository can be installed from DrRacket's
package manager, or with raco pkg
from the command line.
raco pkg install js-voxel
To start using it, set the initial line of your Racket source file to:
#lang js-voxel
Several example programs are included in the js-voxel/examples collection.
The easiest way to run one from DrRacket is to run a racket
program that
requires
it:
#lang racket
(require js-voxel/examples/axes)
This will open a Web browser to display the program's output. Results of commands entered into the interactions panel are also displayed in the Web browser.
To run an example from the command line, run racket
with the -l
flag:
racket -l js-voxel/examples/axes
This will open a Web browser for output. To include a REPL for input, add the
-i
flag:
racket -il js-voxel/examples/axes