do you load the facts from txt files? >:(
anyway, that seems cool. how did you make an algorithm to compress all those balls into that tiny itty bitty space?
it's hexagonal packing and it involves trigonometry
lots of trigonometry
well, circle packing right now, but i'll turn it into hex packing later
and no the facts are either calculated from other facts or stored in arrays
edit: basically,
[is Center Space taken by a sphere?]
[no: sphere goes here]
[yes: move to the RIGHT, theta is ZERO DEGREES (0) and distance is ONE (1)]
[is 0, 1 taken?]
[no: sphere goes here]
[yes: move theta up SIXTY DEGREES (1) and distance remains ONE (1)]
[is 1, 1 taken?]
[...]
[is 5, 1 taken?]
[no: sphere goes here]
[yes: move theta back to ZERO (0) and distance up to TWO (2); theta will now increment by FIFTEEN (1/(6 * 2) * 360) instead of THIRTY (1/(6 * 1) * 360)]
going to change it to a system where it changes the 'focus' to another cell so DISTANCE will always be one, and it will be true hex packing instead of just concentric circles