USING: kernel random math math.constants math.points accessors multi-methods
processing processing.shapes
- processing.color
bubble-chamber.common
- bubble-chamber.particle ;
+ bubble-chamber.particle colors ;
IN: bubble-chamber.particle.hadron
[ 0.00001 theta-dd-small? ] [ -0.001 0.001 random-theta-dd ] [ ] while
- 0 1 0 <rgb> >>myc
+ 0 1 0 1 rgba boa >>myc
drop ;
USING: kernel sequences combinators
math math.vectors math.functions multi-methods
- accessors combinators.cleave processing processing.color
- bubble-chamber.common ;
+ accessors combinators.cleave processing
+ bubble-chamber.common colors ;
IN: bubble-chamber.particle
0 >>theta-d
0 >>theta-dd
- 0 0 0 1 <rgba> >>myc
- 0 0 0 1 <rgba> >>mya ;
+ 0 0 0 1 rgba boa >>myc
+ 0 0 0 1 rgba boa >>mya ;
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!