1635,8 → 1635,12 |
* Decreasing probability of pixels near bottom through exponential distribution; |
* TODO: If coord > 50%, decrease probability of appearance. |
*/ |
$y = mt_rand(1, $lambda * exp(-$lambda * mt_rand(0, 5)) * 99); |
$coords[] = array('x' => $x, 'y' => $y); |
$max = $lambda * exp(-$lambda * mt_rand(0, 5)) * 99; |
if (1 <= $max) |
{ |
$y = mt_rand(1, $max); |
$coords[] = array('x' => $x, 'y' => $y); |
} |
} |
|
$dots = array_map(function ($coord) { |
1856,7 → 1860,36 |
top: -0.1em; |
font-size: 90%; |
} |
|
|
.space-above-beyond { |
display: inline-block; |
background-color: black; |
color: white; |
padding: 0.25em 0.5em; |
text-transform: uppercase; |
} |
|
.space-above-beyond .space { |
display: block; |
letter-spacing: 0.5em; |
text-align: justify; |
} |
|
.space-above-beyond .space span { |
letter-spacing: normal; |
} |
|
.space-above-beyond .above-beyond { |
display: block; |
font-size: 50%; |
word-spacing: 0.5em; |
text-align: justify; |
} |
|
.space-above-beyond .above-beyond span { |
word-spacing: normal; |
} |
|
@font-face { |
font-family: "Stargate"; |
src: local("Stargate"), url(/styles/fonts/STARGATE.TTF); |