For my Technical Animation course which I took during the Spring of 2017 at CMU’s School of Computer Science, we were given multiple assignments which led to us exploring different areas of animation. Simulation, in particular, was a topic that caught my eye and so I worked on a cloth simulation and a fluid simulation which I developed using Unity.
Fluid Simulation
A fluid simulation using sph Fluids (an implementation of the paper by Muller et al). Behavior changes can be observed by changing values like viscosity, gas constant, rest density and so on. Developed for my Technical Animation course at CMU during the Spring of 2017 for my Final Project for the course.
Developed using: Unity, C#
Team size: 1
Role: Programmer
The project deliverable included a working fluid simulation that could show changes in behavior for different input property values. These changes needed to be juxtaposed.
I ended up adding interactive collisions to the simulation to see if that worked well, and it did seem to. These videos have been sped up.
Git Repo: https://github.com/sunilnayak133/sphFluid
YouTube:
Cloth Simulation
An interactive Cloth Simulator using simple Verlet Integration made in Unity. Detects collisions and forces like gravity. Developed for my Technical Animation course at CMU for the second Mini Project.
Developed using: Unity, C#
Team size: 1
Role: Programmer
The project deliverable included just a working cloth simulator that just was able to handle different settings of stiffness of the cloth and different values for the time-step. A version of this which also handled collision detection was a bonus.
I also ended up adding interactivity to the simulator. Now one can use the mouse to interact with the cloth. It runs at 80-90 FPS even with all of the above features.
Git Repo: https://github.com/sunilnayak133/clothSimulator
YouTube: