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
- Host: GitHub
- URL: https://github.com/tech-tac/cubes
- Owner: Tech-Tac
- Created: 2023-10-24T18:55:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T14:45:42.000Z (over 1 year ago)
- Last Synced: 2024-11-05T15:44:47.908Z (over 1 year ago)
- Topics: 2d, 3d, cube, cubes, voxel
- Language: JavaScript
- Homepage: https://tech-tac.github.io/cubes/
- Size: 29.5 MB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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