An open API service indexing awesome lists of open source software.

https://github.com/tech-tac/cubes

2.5D Cube voxel art creator
https://github.com/tech-tac/cubes

2d 3d cube cubes voxel

Last synced: about 1 year ago
JSON representation

2.5D Cube voxel art creator

Awesome Lists containing this project

README

          

# Cubes

2.5D Colored cube voxel-art editor

Try at

Make 3D builds out of little cubes, you can change cube colors, view from a different angle, and save/share your build!

## Controls

- `LMB`: Place cube
- `shift` + `LMB`: Place cube (opposite face)
- `alt` + `drag`: Draw with cubes
- `ctrl` + `drag`: Paint cubes with color
- `RMB`: Break cube
- `MMB`: Pick color
- `RMB` + `drag`: Rotate view (locked to 90° increments)
- `drag color-picker to cube`: Pick color
- `wheel up`: Zoom in
- `wheel down`: Zoom out
- `drag`: Pan
- `leftarrow`: Pan left
- `rightarrow`: Pan right
- `uparrow`: Pan up
- `downarrow`: Pan down
- `+` (numpad): Zoom in
- `-` (numpad): Zoom out
- `>` (`.`): Rotate view by 90°deg clockwise
- `<` (`,`): Rotate view by 90°deg counterclockwise
- `m`: Toggle mute
- `h`: Hide HUD
- `ctrl` + `z`: Undo
- `ctrl` + `y`: Redo
- `ctrl` + `c`: Copy cubes
- `ctrl` + `v`: Paste Cubes
- `ctrl` + `s`: Save
- `ctrl` + `o`: Open file...
- `ctrl` + `r`: Clear all cubes
- `ctrl` + `b`: Balls
- `f1`: Show help
- `ctrl` + `shift` + `c`: Share build link
- `ctrl` + `p`: Play "Bad Apple!!"

### Touch

- `tap`: Place cube
- `long press`: Break cube
- `pinch`: Zoom
- `swipe`: Pan

## Credits

Coding and design is by me (@Tech-Tac).
Cube sound is from FreeSound.org.
@Jaegerwald fixed pixelation on Firefox.
Some requests from users have been implemented.

## Canvas-based version [Abandoned]

The main project works by creating a styled HTML element for each cube, however, a primitive HTML-5 `canvas`-based version of the project is available to try at

© 2025 @Tech-Tac