! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays colors colors.ryb kernel locals math.functions
+USING: arrays colors colors.ryb kernel math.functions
ranges sequences tools.test ;
{ t } [
0.0 1.0 0.1 <range> [| r |
0.0 1.0 0.1 <range> [| g |
0.0 1.0 0.1 <range> [| b |
- r g b 1.0 <rgba> dup >ryba >rgba
- [ >rgba-components 4array ] bi@
- [ 0.00000001 ~ ] 2all?
+ r g b 1.0 <rgba> dup >ryba color=
] all?
] all?
] all?