File Exchange Pick of the Week

Our best user submissions

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

The Curling Game 2

Posted by Will Campbell,

Will‘s pick this week is The Curling Game by Corey Lagunowich.

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.)

Curling UI

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:

Slide stone, slide!

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.

Curling model
Curling model

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:
Marinna Martini replied on : 2 of 2
Super cool! For the next upgrade - you need directional sweeping.