Skip to content

CodeForBeauty/FallingSand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Falling sand simulation

Falling sand simulation made for testing capabilities of Apus - 2d rendering engine(repo: https://github.com/CodeForBeauty/Apus)

All of the calculations and sand rendering work on CPU using OMP parallelism for speeding up loops.

Screenshots of work

alt text alt text alt text

How to use

To only test out program you can get it here: https://github.com/CodeForBeauty/FallingSand/releases/tag/Testing

On launch program expects user to input width and height of a canvas. After inputing width and height app window unfreezes and is free to use or resize.

Pressing left mouse button spawns sand in a circle around cursor. That circle can be resized by pressing [-]/[=] on the keyboard.

Screenshot of a current state of a canvas can be taken by pressing [R] on the keyboard. Screenshot is saved in folder "testing" as "Render.png". Resolution of a taken screenshot is dependent on window size.

Conclusion

ApusCore has become very powerful rendering engine. And is being worked on. More of the similar projects will come in the near future.

About

Simulation of a falling sand. Made in opengl.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors