Allow for interpolating colors from center to edge of ellipses
This commit is contained in:
@@ -1065,14 +1065,11 @@ moveFlame rotd w pt =
|
||||
rfl wl p = Just $ pt {_btTimer' = time -1, _btPos' = pOut p
|
||||
, _btVel' = reflV wl, _ptPict' = thepic $ pOut p
|
||||
}
|
||||
glow p' = setLayer 2 $ onLayerL [levLayer UPtLayer,0] $ uncurry translate p'
|
||||
$ color (withAlpha 0.01 orange)
|
||||
$ circleSolid 50
|
||||
glow p' = setLayer 1 $ onLayerL [levLayer UPtLayer,0] $ uncurry translate p'
|
||||
$ circleSolidCol (withAlpha 0 orange)
|
||||
(withAlpha 0.02 orange) -- (withAlpha 0 orange) 50
|
||||
50
|
||||
pOut p = p +.+ safeNormalizeV (sp -.- p)
|
||||
--reflV wall = (0.6 *.* reflectIn (_wlLine wall !! 1 -.- _wlLine wall !! 0)
|
||||
-- vel )
|
||||
-- +.+
|
||||
-- (0.4 *.* vel)
|
||||
reflV wall = (0.3 *.* reflectIn (_wlLine wall !! 1 -.- _wlLine wall !! 0)
|
||||
vel )
|
||||
+.+
|
||||
|
||||
Reference in New Issue
Block a user