Slashdot Mirror


Using Prime Numbers to Generate Backgrounds

bpeh123 pointed out an article about generating organically tiled backgrounds inspired by the life cycle of cicadas. The trick is to overlay multiple background tiles with prime widths thus generating a series that does not repeat for a sufficiently long period. This introduces a seeming irregularity and makes the background appear much more natural.

1 of 180 comments (clear)

  1. Re:TL;DR by gstoddart · · Score: 3, Funny

    Designer discovers basic properties of the prime numbers (and confuses 1 for a prime).

    You missed the important thing ... designer creates huge frickin' lego army using a small number of images and some pretty smart use of CSS.

    An army, but make out of lego. Put lasers on them and see who takes over the world. :-P

    --
    Lost at C:>. Found at C.