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

Page 5 step method improvement

asusta opened this issue · 1 comments

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.

I've updated the text to specify this change.