https://github.com/bryanoliveira/processing-3d-force-simulator
3D rendering & force simulator with Processing.
https://github.com/bryanoliveira/processing-3d-force-simulator
processing rendering
Last synced: 7 months ago
JSON representation
3D rendering & force simulator with Processing.
- Host: GitHub
- URL: https://github.com/bryanoliveira/processing-3d-force-simulator
- Owner: bryanoliveira
- License: mit
- Created: 2018-10-02T15:07:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-30T00:59:46.000Z (over 4 years ago)
- Last Synced: 2025-01-03T01:54:42.255Z (9 months ago)
- Topics: processing, rendering
- Language: Processing
- Homepage:
- Size: 724 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Processing 3D Rendering & Force Simulator
3D Force simulator using only [Processing](https://processing.org/)'s point() and line() functions. Uses Digital Differential Analyzer (DDA) to render lines between two points, Scan Line to render polygons, normal calculation to determine faces to render in 3D space and Newtonian physics. Written in Java.
![]()
> One of the project's scenes, where the cube is affected by gravity and the ground is not.
The program interface allows for real-time selection, positioning, rotation, scaling and acceleration of objects. In a [previous version](https://github.com/bryanoliveira/processing-physics-simulator/blob/fc899000baecf513cc3da4b38ab104cd4de260f7/Simulator/Projections.pde) it also supported selecting between Cavalier, Cabinet, Isometric, Perspective-Z and Perspective-XZ projections.
## Usage
- Clone this repository
- Install [Processing](https://processing.org/download/)
- Open this project with Processing IDE or execute `processing-java --sketch=Simulator --force --run` in a CLI.---
This program was developed as the final project for the 2018/2 Computer Graphics (INF0037) class of Computer Science at Universidade Federal de Goiás (UFG, Brazil).