Slopes example?

i was playing Spooky Hoofs on the iPad and really like the slopes implementation.
does anyone have an example project of how to make slopes?
does anyone have an example project of how to make slopes?