From: Eduardo Cavazos Date: Tue, 16 Dec 2008 01:01:07 +0000 (-0600) Subject: bubble-chamber: Rearrange the example configurations X-Git-Tag: 0.94~2228^2~5 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=9b17f0a7f213cea6067d4c678a3eedb2fb8659be bubble-chamber: Rearrange the example configurations --- diff --git a/extra/bubble-chamber/bubble-chamber.factor b/extra/bubble-chamber/bubble-chamber.factor index 086faf4f23..292ac7e59f 100644 --- a/extra/bubble-chamber/bubble-chamber.factor +++ b/extra/bubble-chamber/bubble-chamber.factor @@ -524,6 +524,24 @@ M:: update-frame-buffer ( BUBBLE-CHAMBER -- ) ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +: hadron-chamber ( -- ) + bubble-chamber-window + 1000 [ hadron add-particle ] times + big-bang + drop ; + +! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +! Experimental +! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +: muon-chamber ( -- ) + bubble-chamber-window + 1000 [ muon add-particle ] times + dup particles>> [ collide randomize-collision-theta ] each + drop ; + +! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + : original-big-bang ( -- ) bubble-chamber { 1000 1000 } >>size @@ -541,22 +559,6 @@ M:: update-frame-buffer ( BUBBLE-CHAMBER -- ) ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -: hadron-chamber ( -- ) - bubble-chamber-window - 1000 [ hadron add-particle ] times - big-bang - drop ; - -! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -: muon-chamber ( -- ) - bubble-chamber-window - 1000 [ muon add-particle ] times - dup particles>> [ collide randomize-collision-theta ] each - drop ; - -! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - : original-big-bang-variant ( -- ) bubble-chamber-window 1789 [ muon add-particle ] times @@ -565,4 +567,3 @@ M:: update-frame-buffer ( BUBBLE-CHAMBER -- ) 111 [ axion add-particle ] times dup particles>> [ collide randomize-collision-theta ] each drop ; -