https://github.com/im-rises/cube3d
3D cube in Processing.
https://github.com/im-rises/cube3d
3d cube matrix processing
Last synced: 8 months ago
JSON representation
3D cube in Processing.
- Host: GitHub
- URL: https://github.com/im-rises/cube3d
- Owner: Im-Rises
- License: mit
- Created: 2021-10-14T17:49:34.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T20:40:47.000Z (almost 3 years ago)
- Last Synced: 2025-02-17T04:26:19.333Z (10 months ago)
- Topics: 3d, cube, matrix, processing
- Language: Processing
- Homepage:
- Size: 10.3 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cube3D
## Description
3D cube made with Processing.
App I made to understand the basics of 3D projection and rotation.
The script project a 3D rotating matrix from 3D to 2D using projection, rotation and perspective matrix basis.
- Projection matrix
- Rotation Matrix
- Perspective Matrix
## Demo
## Project architecture
The project is composed of two files, one to handle the matrix operations, the other the 3D implementation using the matrices.
matrix.pde:
- set of matrix functions (multiplication, print, ...)
cube3D.pde:
- main program that display the Cube in 3D
## Quickstart
To start the app, you need to install Processing, you can find it below:
Once installed, open the projects files and you'd be able to start the `cube3D.pde`.
## Documentation
Wikipedia (3D projection):
Wikipedia (Rotation matrix):
The Coding Train video:
## Authors
Quentin MOREL :
- @Im-Rises
-
[](https://github.com/Im-Rises/cube3D/graphs/contributors)