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

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.

Awesome Lists containing this project

README

          

# Cube3D


processingLogo

## 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

cube3Dgif

## 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
-

[![GitHub contributors](https://contrib.rocks/image?repo=Im-Rises/cube3D)](https://github.com/Im-Rises/cube3D/graphs/contributors)