I tried John Resig's processing.js, which is processing implementation on javascript.
This is a program to draw the Sierpinski carpet fractal.
var max = 3;
void draw_iter(x,y,w,h,n){
var wn = w/3;
var hn = h/3;
pushMatrix();
translate(x,y);
rect(wn,hn,wn,hn);
popMatrix();
if( max <= ++n ) return;
for( var i = 0; i < 9; i++ ){
if( i == 4 ) continue;
draw_iter( x+wn*(i%3), y+hn*Math.floor(i/3), wn, hn, n );
}
}
void setup(){
size(144,144);
background(120);
stroke(255);
draw_iter(0,0,144,144,0);
}
As you see, it's quite simple. You can see the output picture of this program in my another blog
A weeks ago, twitter in Japanese was released. on 3rd May, A member of Twitter Japan (a.k.a @twj) hold off-line meeting in Yoyogi park, Tokyo. Unfortunately, however, it was raining, but more than ten people came there. @twj gave us two sticker to each people.
Do you agree Flickr videos? Of course, I agree.
If you can't accept Flickr video anyway, why don't you use my greasemonkey userscript?
When a page listing images including videos is loaded, what is shown at first is not a embed flash object but just a image of its first frame. It is not until you click 'play button' image that a video object is loaded. And, the video plays automatically when you see a page for a certain video. However, a first frame image is loaded in HTML and hidden by CSS.
So, hiding 'play button' and with some DOM scriptings, this greasemonkey takes you non-video flickr-verse as before although I don't think it is fun.
If you are a pro member of flickr, you can see referrers from which they came to your photo pages in your flickr stats. In those stats pages showing referrer s, not a whole url, but only query parameters are displayed if domain of a referrer is search engine such as "yahoo.com" or "google.com".
However, it supports only referrers of major search engine and doesn't support those of other domains.
To improve this, I made a greasemonkey user script for firefox. I'm sorry that it should be configured to display query parameter of domains you want to see. This sciprt also supports to decode non-ascii query parameter (see a image on the right). Please let me know if you know other domains whcih may have query parameter. I will update my script.