mitxela / plotterfun

MIT License
328 stars 63 forks source link

Bug in luma() #14

Closed graza closed 3 years ago

graza commented 3 years ago

https://github.com/mitxela/plotterfun/blob/97ed6f1034364942bc12ef5ba97e57dcd6ac6f62/helpers.js#L54

Reading through this code to be able to implement a new algorithm. I noticed the third element in the addition doesn't add 2 to the index.

mitxela commented 3 years ago

Well spotted! I shall fix that imminently. Cheers.