Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
SFML projects
»
Second project complete - 2D fluid flow simulator
Print
Pages: [
1
]
Author
Topic: Second project complete - 2D fluid flow simulator (Read 3405 times)
0 Members and 1 Guest are viewing this topic.
stuart88
Newbie
Posts: 11
Second project complete - 2D fluid flow simulator
«
on:
February 02, 2017, 10:44:34 pm »
Quite pleased with this one -
https://github.com/Stuart88/Flow-sim/blob/master/Flow%20Sim.rar
As with my previous creation, it isn't actually game, it's a simulator for those with an interest in physics or engineering.
This one models fluid in an open chamber with basic flows, with interactivity enabled for changing flow speed, rotation speed and other things.
Code (on GitHub) is a bit messy again but that's all part of the learning process I guess. First go at using vertex arrays and I had to jump in at the deep end with classes too.
Enjoy
-
https://github.com/Stuart88/Flow-sim/blob/master/Flow%20Sim.rar
Logged
JayhawkZombie
Jr. Member
Posts: 76
Re: Second project complete - 2D fluid flow simulator
«
Reply #1 on:
February 05, 2017, 05:31:26 am »
That's pretty cool, dude. I wonder how it would look combined with something resembling a liquid.
Have you seen this paper?
http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/GDC03.pdf
I thought it had some good insights into fluid simulation. He talks about some 3D, but the concepts can collapse to 2D.
Logged
Print
Pages: [
1
]
SFML community forums
»
General
»
SFML projects
»
Second project complete - 2D fluid flow simulator