You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
baseTriad is an array with a length of 4, so index 4 should not exist, only 0 to 3.
I've played around here: https://stackblitz.com/edit/angular-w2jbiq?file=src%2Fapp%2Fapp.component.ts
To my surprise it actually mades a difference in comparison to e.g. baseTriad[2]. Why is that so? It looks like unintended behavior or a bug to me.
Edit: Ok, of course it's simply undefined, so the whole tetrad thing is unnecessary.
Thanks!
Off topic: The var should be named 'baseTetrad' ;)
The text was updated successfully, but these errors were encountered:
In ColorGeneratorCtrl.js is the following code for the constantin algorithm:
baseTriad is an array with a length of 4, so index 4 should not exist, only 0 to 3.
I've played around here:
https://stackblitz.com/edit/angular-w2jbiq?file=src%2Fapp%2Fapp.component.ts
To my surprise it actually mades a difference in comparison to e.g. baseTriad[2]. Why is that so? It looks like unintended behavior or a bug to me.
Edit: Ok, of course it's simply undefined, so the whole tetrad thing is unnecessary.
Thanks!
Off topic: The var should be named 'baseTetrad' ;)
The text was updated successfully, but these errors were encountered: