nature-of-code / The-Nature-of-Code-archive

The very first build system for The Nature of Code
http://natureofcode.com
913 stars 151 forks source link

Page 5 step method improvement #329

Closed asusta closed 8 years ago

asusta commented 11 years ago

While changing stepx and stepy as float, updating general variables of x and y as float is also necessary. Otherwise adding a float to integer casts to integer thus random walk becomes a line moving one side on a line.

shiffman commented 8 years ago

I've updated the text to specify this change.