parallelvisions between information and perception

Posts Tagged Coding

Effect study #2

Another algorithm, dividing recursively in four squares like fractal until the standard deviations of colors within each cells become below the threshold.


Effect study #1

 
 An example of tasseling by squares. Original image is composed of 300 x 400 = 120,000 pixels and replaced with square-shaped areas. The dimensions of squares correspond to the area in which the pixels have similar colors. Processed by short php script using GD library.
Original image was found in Wikimedia Commons.
 
 
 


Posted
21 May 2009 @ 6pm

Tagged
Coding

@Replyin – Twitter translation bot

My another (and maybe more useful) twitter bot. Some people might thought the same thing and might have already made better ones, but it’s OK with me. I made @replyin, a translator bot for over 40 languages.
Usage
1. Post a reply to @replyin
Message should be @replyin [space] language [space] text.
Language name is better in 2-letter code [...]


Posted
20 May 2009 @ 6pm

Tagged
Coding

TonyMontanaBot/トニー・モンタナボット

Say hello to my little twitter bot.
I am not twitter-er, but recently I made my first twitter bot just for fun. Scarface’s infamous protagonist will spout his memorable lines randomly and also as a reply to any @TonyMontanaBot message.
『スカーフェイス』(1983) でお馴染みのトニー・モンタナのボットをつくった。一定時間ごとにセリフを吐くほか、@TonyMontanaBot に何かつぶやくと応えてくれる…はず。
Service_Twitter を利用。