mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-18 03:12:40 +00:00
Fix color-theory video.
Former-commit-id: 692accb0a2444a0dd40f9a1ab468532806f9569b
This commit is contained in:
parent
457a261ea0
commit
5da50820b4
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ renderXYZCoordinatesTernary =
|
|||
|
||||
|
||||
cieXYImage :: Int -> Tree
|
||||
cieXYImage density = Ternary.raster density $ \aCoord bCoord cCoord ->
|
||||
cieXYImage density = Ternary.ternaryPlot density $ \aCoord bCoord cCoord ->
|
||||
let RGB r g b = toSRGBBounded (cieXYZ aCoord bCoord cCoord)
|
||||
in PixelRGBA8 r g b 0xFF
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue