Tuesday, January 29, 2019

Truchet

Truchet, then rotated 12

//https://en.wikipedia.org/wiki/Truchet_tiles

// try EOS, EPM, EPZ, AAZsa
startshape truchet4
CF::Impure = 1
CF::Symmetry = CF::Cyclic, 11 //  n-fold symmetry

xwide = 26
ytall    = xwide-1

shape truchet4 {
  loop i = xwide  [ ] {
    loop j = ytall  [ ] {
      tuch(i,j)[ rotate (0 )  ]
      }  
   }
}
  
shape tuch(number i  , number  j  ) {
   sq()  [x  (i +.5)   y (j) ]
    tr2(i,j)  [ x (i)  y (-0.5+ j) z 1 rotate 0  ]
    tr4 (i,j)  [ x (i)  y (-0.5+ j) z 4 rotate 0  ]
}


shape sq {
  SQUARE () [  h 0.00 sat 0.0000 b 0  ]
}

shape tr(xx,yy)
rule   { if (mod(xx,2) )  
              tr1 (xx,yy) [ s 1.0 z 3 ]
          else
             tr1(xx,yy) [ s 1.0 z 3 ] }
rule   { if (mod(xx,2) )  
             tr1 (xx,yy) [ s 1.0 z 3 ]
          else
             tr2(xx,yy) [ s 1.0 z 3 ] }

rule   {
          if (mod(xx,2) )  
             tr2 (xx,yy) [ s 1.0 z 3 ]
          else
             tr3(xx,yy) [ s 1.0 z 3 ]
          }
rule { if ( mod(xx,2)  )  
             tr3(xx,yy) [ s 1.0 z 3 ]
          else
             tr4(xx,yy) [ s 1.0 z 3 ] } 


path tr1(xx,yy) {
  MOVETO(0,0)
  LINETO(0,1)
  LINETO(1,1)
  LINETO(0,0)
  CLOSEPOLY()
  STROKE(.01)[]
  FILL()[ hue Colfunc(xx,yy)  sat (rand(1,10)*0.1) b 1.0  ]
}
path tr2(xx,yy)  {
  MOVETO(0,0)
  LINETO(1,1)
  LINETO(1,0)
  LINETO(0,0)
  CLOSEPOLY()
  STROKE(.01)[]
  FILL()[ hue  Colfunc(xx,yy)  sat (rand(1,10)*0.1) b 1.0  ]
}

path tr3(xx,yy)  {
  MOVETO(1,0)
  LINETO(1,1)
  LINETO(0,1)
  LINETO(1,0)
  CLOSEPOLY()
  STROKE(.01)[]
  FILL()[ hue  Colfunc(xx,yy)   sat (rand(1,10)*0.1) b 1.0  ]
}

path tr4(xx,yy) {
  MOVETO(1,0)
  LINETO(0,1)
  LINETO(0,0)
  LINETO(1,0)
  CLOSEPOLY()
  STROKE(.01)[]
  FILL()[ hue   Colfunc(xx,yy)    sat (rand(1,10)*0.1) b 1.0  ]
}
Colfunc(xx,yy) =    rand(xx*10, yy*10)
 


Monday, December 17, 2018

Context Free design language

Having retired, it's time to do some graphics. Learning "context free" -- Context free: small language for design grammars called CFDG

Thursday, April 07, 2011

NFC

Tuesday, May 25, 2010

What Fortune Can Effect In Human Affairs, And How To Withstand Her

The Prince --
IT is not unknown to me how many men have had, and still have, the opinion that the affairs of the world are in such wise governed by fortune and by God that men with their wisdom cannot direct them and that no one can even help them; and because of this they would have us believe that it is not necessary to labour much in affairs, but to let chance govern them. This opinion has been more credited in our times because of the great changes in affairs which have been seen, and may still be seen, every day, beyond all human conjecture. Sometimes pondering over this, I am in some degree inclined to their opinion. Nevertheless, not to extinguish our free will, I hold it to be true that Fortune is the arbiter of one-half of our actions, but that she still leaves us to direct the other half, or perhaps a little less.

I believe the Middle Ages, developed the notion -- Fortuna Imperatrix Mundi --
where the wheel of fortune could not be modified. M. tried to insert the notion of free will into the experience of chance in the world. There's a lesson in there.

Sunday, May 23, 2010

How we became posthuman

Hayes distinguishes between the presence/abscence axis, and the pattern/randomness axis. Traditionally, the focus of the economy was on 'possession' -- the presence of resources within the control of an entity. In the postmodern economy -- the information is the key axis/focus . This is simply common information economy manifesto-speak. However, Hayes analyzes the possibility of the dematerialization of information more deeply. is it really possible to cyborgize humanity? isn't it true that all information has to be present in some manifestation?

"even though information provides the basis for much of contemporary society, it is never present in itself."


Because they have bodies, books and people have something to lose if they are regarded solely as informational patterns, namely the resistant materiality that has traditionally marked the experience of reading no less than it has marked the experience of living as embodied creatures.

Labels: , ,

Saturday, May 15, 2010

cynics in the organization

Dave Snowden, says ..
"At a recent session with a few CEOs I has asked for my three ideas that would help them cope with uncertainty. I don't what they expected but I said:

Seek out those people in your organisations or advisory groups who everyone wants you to avoid and given them the time and space to say why. You will waste some time, but you will increase the range of options you scan.
If you involve experts in decision making when the field is in a state of fluctuation, always create dissent and contrariness.
Remember it's the cynics in the organisation who care about it, not the people who are just trying the say the right thing."

clocks and clouds

From Wired:

Karl Popper, the great philosopher of science, once divided the world into two categories: clocks and clouds. Clocks are neat, orderly systems that can be solved through reduction; clouds are an epistemic mess, “highly irregular, disorderly, and more or less unpredictable.” The mistake of modern science is to pretend that everything is a clock, which is why we get seduced again and again by the false promises of brain scanners and gene sequencers. We want to believe we will understand nature if we find the exact right tool to cut its joints. But that approach is doomed to failure. We live in a universe not of clocks but of clouds.

Labels:

Wednesday, May 20, 2009

coins and html5

HTML now supports inline microformats. I know coins already has a solution to this,
but if we join that scheme we can leverage other microformat software.

Any element can have an item attribute.


<div>
<p itemprop="a">1


<p itemprop="a">2


<p itemprop="b">test


</div>

so, I suggest the following which also will work with standard COinS software. It does however violate
a goal of coins, which is to have empty content.
Following the example at http://ocoins.info/

<div>
<span itemprop="Z3988" class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.issn=1045-4438">ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.issn=1045-4438</span>
</div>


according to the COins standard the span should be empty, but I don't know what to do about that.

<div>
<span itemprop="Z3988" class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.issn=1045-4438"></span>
</div>

I don't know whether this would work better:


You might be able to obtain this item.
<span itemprop="Z3988" class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.issn=1045-4438"></span>
</div>

or this:

You might be able to obtain this item.
<coins itemprop="Z3988" class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.issn=1045-4438">
</div>

or this:
<div item="info.coins">
You might be able to obtain this item.
<coins itemprop="info.coins.Z3988" class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.issn=1045-4438">
</div>