This project is about the implementation of a cloth simulation based on the mass spring model for the CGIT module. The base model of the cloth is the use of the mass spring model whereby particles are used to model the cloth and their positions and movement are simulated through several forces that act on them. Implemented in C++ and using OpenGL for realtime visualisation, it provides the user with a GUI to manipulate the scene, cloth and its interaction with the environment and rigid bodies. Rigid bodies interaction includes interaction with spheres and cubes. The choice of various materials with different properties and textures is also implemented. Moreover, various scenarios for the arrangement of the cloth is setup, such as a banner, flag, shelter, curtain and etc.