Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 666 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 666 Bytes

asciiphysx

Using pure console to simulate the movement of astronomical objects.

Overview

This is a program using ascii characters to simulate and illustrate the movement of object. You can put a lot of objects into the system, setting their initial status such as mass, position and velocity. Then these objects will start to move following Newton's laws of motion。

Compile

gcc -o asciiphysx main.c -lm

Usage

Just follow the instuctions of compiled program. When input the initial physical information, you should follow the required format.