[ oversampling /f ] bi@ 0.0 double-array{ } 3sequence ;
: ss-grid ( -- ss-grid )
- oversampling iota [ oversampling iota [ ss-point ] with map ] map ;
+ oversampling <iota> [ oversampling iota [ ss-point ] with map ] map ;
: ray-grid ( point ss-grid -- ray-grid )
[
[ [ swap cast-ray + ] with each ] with each ;
: pixel-grid ( -- grid )
- size iota reverse [
- size iota [
+ size <iota> reverse [
+ size <iota> [
[ size 0.5 * - ] bi@ swap size
double-array{ } 3sequence
] with map