Skip to content
No description or website provided.
JavaScript Other
Branch: master
Clone or download
Latest commit 7a97d65 Nov 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf
examples
htdocs
scribblings re-import existing files Oct 9, 2019
.gitignore add existing files Oct 2, 2019
README.md Update README.md Nov 7, 2019
color.rkt
cuboid.rkt
draw.rkt
info.rkt
line.rkt re-import existing files Oct 9, 2019
main.rkt re-import existing files Oct 9, 2019
package-lock.json
package.json
run.rkt
the-lang.rkt re-import existing files Oct 9, 2019
vector.rkt
voxel.rkt re-import existing files Oct 9, 2019
web-server.rkt re-import existing files Oct 9, 2019
web-socket-server.rkt

README.md

Js-Voxel

Racket Package Documentation Build Status Coverage Status

A general-purpose voxel programming environment.

Installation and Use

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

Examples

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
You can’t perform that action at this time.