]> gitweb.factorcode.org Git - factor.git/blob - extra/bubble-chamber/bubble-chamber-docs.factor
72ffb638487d6928ffdcf247e7e381c2430ff513
[factor.git] / extra / bubble-chamber / bubble-chamber-docs.factor
1
2 USING: help.syntax help.markup ;
3
4 USING: bubble-chamber.particle.muon
5        bubble-chamber.particle.quark
6        bubble-chamber.particle.hadron
7        bubble-chamber.particle.axion ;
8
9 IN: bubble-chamber
10
11 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
13 HELP: muon
14
15   { $class-description
16     "The muon is a colorful particle with an entangled friend."
17     "It draws both itself and its horizontally symmetric partner."
18     "A high range of speed and almost no speed decay allow the"
19     "muon to reach the extents of the window, often forming rings"
20     "where theta has decayed but speed remains stable. The result"
21     "is color almost everywhere in the general direction of collision,"
22     "stabilized into fuzzy rings." } ;
23
24 HELP: quark
25
26   { $class-description
27     "The quark draws as a translucent black. Their large numbers"
28     "create fields of blackness overwritten only by the glowing shadows of "
29     "Hadrons. "
30     "quarks are allowed to accelerate away with speed decay values above 1.0. "
31     "Each quark has an entangled friend. Both particles are drawn identically,"
32     "mirrored along the y-axis." } ;
33
34 HELP: hadron
35
36   { $class-description
37     "Hadrons collide from totally random directions. "
38     "Those hadrons that do not exit the drawing area, "
39     "tend to stabilize into perfect circular orbits. "
40     "Each hadron draws with a slight glowing emboss. "
41     "The hadron itself is not drawn." } ;
42
43 HELP: axion
44
45   { $class-description
46     "The axion particle draws a bold black path. Axions exist "
47     "in a slightly higher dimension and as such are drawn with "
48     "elevated embossed shadows. Axions are quick to stabilize "
49     "and fall into single pixel orbits axions automatically "
50     "recollide themselves after stabilizing." } ;
51
52 { muon quark hadron axion } related-words
53
54 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
55
56 ARTICLE: "bubble-chamber" "Bubble Chamber"
57
58 "The " { $vocab-link "bubble-chamber" } 
59 " is a generative painting system of imaginary "
60 "colliding particles. A single super-massive collision produces a "
61 "discrete universe of four particle types. Particles draw their "
62 "positions over time as pixel exposures.\n"
63 "\n"
64 "Four types of particles exist. The behavior and graphic appearance of "
65 "each particle type is unique.\n"
66   { $subsection muon }
67   { $subsection quark }
68   { $subsection hadron }
69   { $subsection axion } 
70 "\n"
71 "After you run the vocabulary, a window will appear. Click the "
72 "mouse in a random area to fire 11 particles of each type. "
73 "Another way to fire particles is to press the "
74 "spacebar. This fires all the particles.\n"
75 "\n"
76 "Bubble Chamber was created by Jared Tarbell. "
77 "It was originally implemented in Processing. "
78 "It was ported to Factor by Eduardo Cavazos. "
79 "The original work is on display here: "
80 { $url
81 "http://www.complexification.net/gallery/machines/bubblechamber/" } ;
82
83 ABOUT: "bubble-chamber"
84