[go: up one dir, main page]

Skip to content

Pragyanur/Bouncing_Ball_Sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Bouncing Ball Simulation using C

introduction

  • This project was my first project I did using C.
  • At this point in time I was very less experienced with coding and didn't know what to google in order to make the things work the way I want to.

project working

  • I am using the console as a canvas for this project.
  • The ball is created through drawing characters at the required place on the console.
  • Used the simple equation of circle to draw the points.
  • Update the parameters of the circle/ball accordingly to simulate gravity.
  • The updation is done to the coordinates of the center of the circle.
  • There is no damping simulated into the physics.

conclusion

Maths can let us achieve interesting results even when our coding knowledge is limited.

Code has scope for simplification Not all simplification is good for learning

About

2D Bouncing ball simulation on console using C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages