Abstract��A physics��based cloth simulation using modified mass��spring model was presented. There was no force generated by springs between particles, but a set of constraints was built between particles. And real��time cloth simulation was achieved according to physical rules to continually adjust the positions of the particles to satisfy these constraints. Based on the spatial hash function, the cloth self��collision detection and response were solved. Using NVIDIA video��s CUDA technology, hardware acceleration on cloth simulation was implemented and its frame rate was increased about several times.