Skip to content

Commit

Permalink
fetaure: reduce the number of halley steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tychota committed Dec 14, 2023
1 parent 3f58d36 commit 4d7f8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamut/rgb/oklab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class GreyOutOfRange extends OkLabGamutMapping {
}

export abstract class OkLabInterpolateGamutMapping extends OkLabGamutMapping {
private static HALLEY_STEPS_NB = 3;
private static HALLEY_STEPS_NB = 2;

/**
* Compute the maximum saturation for a given hue that fits in sRGB
Expand Down

0 comments on commit 4d7f8f0

Please sign in to comment.