https://github.com/polyfloyd/ledcubesim
A simulator for volumetric displays
https://github.com/polyfloyd/ledcubesim
Last synced: about 1 year ago
JSON representation
A simulator for volumetric displays
- Host: GitHub
- URL: https://github.com/polyfloyd/ledcubesim
- Owner: polyfloyd
- License: mit
- Created: 2014-07-31T23:29:13.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2019-05-12T20:14:04.000Z (about 7 years ago)
- Last Synced: 2025-02-04T23:17:42.813Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 479 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Volumetric Display Simulator
============================
Ledcubesim is a simulator I made for creating and testing programs for my
16x16x16 RGB 3D-LEDCube project from 2014 which is surprisingly never finished.
It was later re-purposed to simulate a generic volumetric display.

## Building
Make sure you have [Go](http://golang.org/dl), GLFW3 and GLEW installed.
On Debian (and maybe Ubuntu) systems, you can install all dependencies as follows:
```
sudo apt-get install git golang libgflw3-dev libglew-dev
```
Then to install ledcubesim:
```
go get -u github.com/polyfloyd/ledcubesim
```
## Usage
```
Usage of ledcubesim:
-c int
Set all dimensions to the same size
-cx int
The width of the cube (default 16)
-cy int
The length of the cube (default 16)
-cz int
The height of the cube (default 16)
```
* Moving the mouse while holding the left mousebutton will cause the view to rotate.
* Scrolling with the mouse adjust the zoom.
* Pressing R on the keyboard will reset the view to its initial condition.
* Pressing S on the keyboard will toggle the visibility of black (off) voxels.
* Pressing T on the keyboard will toggle spinning of the view
## Input
Write `width * height * length * 3` bytes to stdin. Colors are encoded as
`RGB`.