Skip to content

Using pure console to simulate the movement of astronomical objects 使用纯控制台模拟天体运动

License

Notifications You must be signed in to change notification settings

zhangxm99/asciiphysx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Using pure console to simulate the movement of astronomical objects 使用纯控制台模拟天体运动

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages