Specifically, in renderWheel() at c.setAttribute('points', points), Safari balks at the assignment and says it cannot parse the value it's been given. Perhaps the terminal comma isn't supported? (Chrome complains about it but proceeds.)
Interestingly, errors in Chrome in the same function — apparently rendering continues however. Guessing the problem is that the line: points += `${s.x} ${s.y}, `; is adding an extra `, ` to the end of the string causing the assignment/parse that follows to fail.
Comments (169) 64 threads
Earlier commentsInterestingly, errors in Chrome in the same function — apparently rendering continues however.
Guessing the problem is that the line: points += `${s.x} ${s.y}, `;
is adding an extra `, ` to the end of the string causing the assignment/parse that follows to fail.
[1]: https://xkcd.com/color/rgb/ ; context: https://blog.xkcd.com/2010/05/03/color-survey-results/ .
[1] https://www.luminoso.com/post/the-color-cloud
Regardless, I love this, and love using named colors when prototyping.
I read it as Chart Reuse. But it of course not that, it is a French word.
All comments shown.
Couldn't load more comments. Check your connection and try again.