The BIG Reason Musings on double bass, web development, astronomy, grain alcohol, and free thought.
  • Home
  • Blog
  • Link List
  • Portfolio
  • Projects
  • Music
  • About
  1. Your current location: thebigreason
  2. → Link List
  3. → The Cicada Principle for Web Designers

Link List

The Cicada Principle for Web Designers

Wed Apr 20, 2011

Alex Walker demonstrates how to use prime numbers to generate non-repeating patterns from repeating images.

Keeping the ‘cicada principle’ in mind, I’ve made three square, semi-​​transparent PNGs of 29px, 37px, and 53px respectively, and set them up as multiple backgrounds on the HTML element of a test page.

As you can see, the tiles overlap and interact to generate new patterns and colors. And as we’re using magical prime numbers, this pattern will not repeat for a long, long time.

Exactly how long? 29px × 37px × 53px… or 56,869px!

This article optimizes everything I love about front-end web design; Math-powerd design patters for calculating artistic randomness. Simply badicle. I think I will be applying the Cicada Principle on a refresh of the Glee Tour site I have in my queue next week.

By Mark Eagleton / Permalink ∞

  • Home
  • Blog
  • Link List
  • Portfolio
  • Projects
  • Music
  • About
Think I Need A Drink album cover

Bottom Dwellers
Think I Need A Drink

This is my honky tonk band. Purchase on:

Amazon iTunes CD Baby

Copyright © 2012 thebigreason