The Winter Olympics may be over, but for some of us, a thirst for curling is never truly sated. Well I have good news for those of you who feel that way. You can continue to enjoy the thrill of curling in MATLAB. (The actual game looks nicer. I had to shrink the image down.)
From the MATLAB command window, you run curling.m to launch the UI. As the file’s page explains, you then begin to slide stones down the sheet with a variable amount of force and spin. As the stone moves towards the teeline, you can sweep the ice to alter the trajectory. Check out the demonstration:
What Corey fails to mention is that the physics for the game are simulated with a rather sophisticated Simulink model. The model accounts for friction, stone collisions, the effects of sweeping on velocity and spin, etc. Check out the model’s hierarchy to get of a sense of it.
Let us know what you think here or leave a comment for Corey.
Comments are closed.
2 CommentsOldest to Newest
See this blog post discussing changes we made to the curling simulator in 2018:
Super cool! For the next upgrade – you need directional sweeping. http://www.curling.ca/blog/2016/02/09/heres-what-you-need-to-know-about-sweeping-in-2016/