trajectories = [
{
type: "float",
mode: "dark",
controlPoints: controlPointsFloating
},
{
type: "float",
mode: "light",
controlPoints: controlPointsFloating.toReversed()
},
{
type: "fixed",
mode: "dark",
controlPoints: [
{ luminance: 30, chroma: 0 },
{ luminance: 32.5, chroma: 7.5 },
{ luminance: 50, chroma: 15 },
{ luminance: 65, chroma: 15 },
{ luminance: 85, chroma: 7.5 }
]
},
{
type: "fixed",
mode: "light",
controlPoints: [
{ luminance: 85, chroma: 0 },
{ luminance: 82.5, chroma: 7.5 },
{ luminance: 65, chroma: 15 },
{ luminance: 50, chroma: 15 },
{ luminance: 30, chroma: 7.5 }
]
}
].map((x) => ({
type: x.type,
mode: x.mode,
trajectory: new ColorTrajectory(x.controlPoints)
}))