Context Free

08/11/2008 19:09:22
tags: art, graphic

I recently discovered Context Free, a nice program for using simple mathematical models to create some pretty interesting graphics.

I recommend visiting the gallery to get a better idea of the what I am talking about.

Additionally, I will throw up a few examples of my own experiments here.

Nautilus Star

Nautilus Star
Nautilus Star

Here is the code:

startshape ring
    
rule ring {
    line {s 0.4}
    ring {
        x -0.5
        y -0.133974596
        r 30 
        s 0.935
    }
}
    
rule line 
{ 
  CIRCLE { } 
  line { x .5 s 0.99 b 0.01 } 
} 

Nautilus Shell

Nautilus Shell
Nautilus Shell

And the code:

startshape startnautilus
    
rule startnautilus {
    nautilus {
        r -45
    }
}
    
rule nautilus 100 {
    SQUARE {}
    nautilus {
        s 0.9983
        x .3
        r .5
    }
}
    
rule nautilus 1 {
    SQUARE {}
    nautilus {
        s 0.998
        x .3
        r .5
    }
    divider { 
        s 1
        y 0.3
        r 23
    }
}
    
rule divider {
    SQUARE {}
    divider {
        s .9735
        x 1
        r 1.5
    }
}

Golden Triangle

Golden Triangle
Golden Triangle
startshape left_fold
    
rule left_fold {
    TRIANGLE {}
    TRIANGLE { s 0.95 b .7}
    left_fold {s .75 x .55 y .16 r 60  b .15}
}

Golden Textures

This one is not mine (written by a user named lagroue), but I like it’s use of color. Check out the original source.

Golden Textures
Golden Textures

Similar Pages