<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>GuruBlog : Articles about visualization</title>
    <description>local-guru.net</description>
    <link>http://www.local-guru.net/blog</link>
    <ttl>40</ttl>
    <item>
      <title>a circular chart im Processing</title>
      <link>http://www.local-guru.net//blog/2011/5/27/a-circular-chart-im-processing</link>
      <description>&lt;p&gt;This is a rainbow colored circular bar-chart I made with processing. Currently the lenght
of the bars are random numbers. So don't expect any fancy insights by watching the bars
move :-)&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.local-guru.net/processing/circ_chart"&gt;click here&lt;/a&gt; to see it in action or download the source&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/circular_chart_sc.png" alt="circular chart" /&gt;&lt;/p&gt;
</description>
      <pubDate>2011-05-27T06:00:37+02:00</pubDate>
    </item>
    <item>
      <title>sine-function experiment</title>
      <link>http://www.local-guru.net//blog/2011/5/9/sine-function-experiment</link>
      <description>&lt;p&gt;I played around with ways of visualizing 3D functions in 2D space. This is a visualization of
the function f = sin(x*y * c1 + c2).&lt;/p&gt;

&lt;p&gt;c1 and c2 can be changed by moving the mousecursor.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.local-guru.net/processing/function_experiment1"&gt;click here&lt;/a&gt; to try it or download the source&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/function_experiment1_sc.png" alt="function experiment1" /&gt;&lt;/p&gt;
</description>
      <pubDate>2011-05-09T05:34:23+02:00</pubDate>
    </item>
    <item>
      <title>Calling R from Processing</title>
      <link>http://www.local-guru.net//blog/2010/8/10/calling-r-from-processing</link>
      <description>&lt;p&gt;&lt;a href="http://processing.org"&gt;Processing&lt;/a&gt; is a simple and powerfull programming language to create images, animation and interaction.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.r-project.org/"&gt;R&lt;/a&gt; is a powerfull free software environment for statistical computing.&lt;/p&gt;

&lt;p&gt;For me this sounds like a perfect match. This is a short howto that shows how these two languages
can comunicate with each other.&lt;/p&gt;

&lt;p&gt;On the R-Side I use the Rserve extension, which can be installed by  calling&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;install.packages("Rserve")
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;from within the R environment.&lt;/p&gt;

&lt;p&gt;By calling&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;library(Rserve)
Rserve()
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;from within the R, you can start a serverprocess that accepts commands on a network socket and
can be used by a javaclient to execute R commands.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/processing2r.png" alt="procesing2r" /&gt;&lt;/p&gt;

&lt;p&gt;In the processing sketch we need to add the two jar files of the javaclient that can be downloaded
at the Rserve download page &lt;a href="http://www.rforge.net/Rserve/files/"&gt;http://www.rforge.net/Rserve/files/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;just add the jar files to the sketch using "Add file ..." from the "Sketch"-Menu.&lt;/p&gt;

&lt;p&gt;Now we can use the REngine class to execute some R code in the server process and ask R to return the
calculated data&lt;/p&gt;
</description>
      <pubDate>2010-08-10T20:31:01+02:00</pubDate>
    </item>
    <item>
      <title>Blinking Logfile Map</title>
      <link>http://www.local-guru.net//blog/2010/6/5/blinking-logfile-map</link>
      <description>&lt;p&gt;I always wanted to see where the readers of my blog are comming from, so I took a picture frame and inserted a world map, a handfull of leds and an arduino. Some soldering and some rubyscripts later I had my hardware geo-aware logfile visualization.&lt;/p&gt;

&lt;p&gt;I have a script running at the server that parses new ip adresses from the log file and geocodes them. Than the continent code is
sent to my mac where i have a little script that forwards the continent code to the serial port. And finally the arduino in the
picture frame is making the leds blink. The whole project was hacked together as a weekend project so the scripts might need some
"fine-tuning" :-)&lt;/p&gt;

&lt;p&gt;This is my day 5 project for &lt;a href="http://30daysofcreativity.com/"&gt;30DaysOfCreativity&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;so please read my blog to make the leds blink :-)&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/blinklog1.jpg" alt="blinklog" /&gt;
&lt;img src="http://www.local-guru.net/img/guru/blinklog2.jpg" alt="blinklog" /&gt;&lt;/p&gt;
</description>
      <pubDate>2010-06-05T18:17:00+02:00</pubDate>
    </item>
    <item>
      <title>projecting GIS Data on a sphere using Processing</title>
      <link>http://www.local-guru.net//blog/2009/9/7/projecting-gis-data-on-a-sphere-using-processing</link>
      <description>&lt;p&gt;i have used &lt;a href="http://www.local-guru.net/blog/2009/05/03/accessing-gis-data-from-processing"&gt;processing to access map materials from geoserver&lt;/a&gt;.
but i have noticed that the earth is not flat and that processing is making 3d animations
really easy :-)&lt;/p&gt;

&lt;p&gt;so i have coded a rotating sphere and project the GIS data from geoserver on the surface&lt;/p&gt;

&lt;p&gt;flat map from my last sketch
&lt;img src="http://www.local-guru.net/img/guru/map.png" alt="map" /&gt;&lt;/p&gt;

&lt;p&gt;spherical map from the new sketch
&lt;img src="http://www.local-guru.net/img/guru/sphere_map_sc.png" alt="sphere map" /&gt;&lt;/p&gt;
</description>
      <pubDate>2009-09-07T18:52:00+02:00</pubDate>
    </item>
    <item>
      <title>processing ical-flowers-2.0</title>
      <link>http://www.local-guru.net//blog/2009/2/15/processing-ical-flowers-2-0</link>
      <description>&lt;p&gt;I made a new version of the &lt;a href="http://www.local-guru.net/blog/2008/12/06/processing-ical-flowers"&gt;ical flowers sketch&lt;/a&gt;
i wrote in dezember. This time it doesn't only show a flower for every event in my calender, it also shows&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the current weather (using the &lt;a href="http://code.google.com/p/rubyweather/"&gt;rubyweather&lt;/a&gt; library)&lt;/li&gt;
&lt;li&gt;the current temperature outside&lt;/li&gt;
&lt;li&gt;the min/max temperature outside&lt;/li&gt;
&lt;li&gt;the current temperature inside ( using my &lt;a href="http://www.local-guru.net/blog/2009/02/02/i2c-thermometer-on-arduino"&gt;arduino i2c thermometer sketch&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;the sky color changes depending on the current time&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/icalflowers2-sc1.png" alt="ical-flowers screen1" /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/icalflowers2-sc2.png" alt="ical-flowers screen2" /&gt;&lt;/p&gt;

&lt;p&gt;the system consists of a ruby-proxy, an arduino sketch and a processing sketch.&lt;/p&gt;

&lt;p&gt;the ruby proxy starts a web-server on port 2000. It fetches the current weather using the
&lt;a href="http://code.google.com/p/rubyweather/"&gt;rubyweather gem&lt;/a&gt;, fetches the events from the configured caldav calenders, and
fetches the current temperature from the arduino using &lt;a href="http://ruby-serialport.rubyforge.org/"&gt;ruby-serial&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;the arduino sketch is basicaly the same as &lt;a href="http://www.local-guru.net/blog/2009/02/02/i2c-thermometer-on-arduino"&gt;in this blog post&lt;/a&gt;. the only change is
that the arduino only sends the temperature when the host sends a 'C' over the serial line&lt;/p&gt;

&lt;p&gt;the processing sketch finally fetches the data via http from the proxy and displays it ( using my &lt;a href="http://www.local-guru.net/blog/pages/ical4p"&gt;icap4p library&lt;/a&gt;.
the screen is updated every 1/2 hour using the method &lt;a href="http://www.local-guru.net/blog/2009/01/29/extra-low-framerates-in-processing"&gt;described here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;the code can be downloaded &lt;a href="http://www.local-guru.net/projects/flowers-2.0.zip"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;it's published under the LGPL&lt;/p&gt;

&lt;p&gt;have fun :-)&lt;/p&gt;
</description>
      <pubDate>2009-02-15T08:15:00+01:00</pubDate>
    </item>
    <item>
      <title>Training Bike Visualization</title>
      <link>http://www.local-guru.net//blog/2008/12/8/training-bike-visualization</link>
      <description>&lt;p&gt;i wrote a processing sketch to &lt;a href="http://www.local-guru.net/projects/bike/bike.zip"&gt;visualize and record&lt;/a&gt;
sessions on a training bike. To calculate the rotation-speed of my training bike i hooked up 2 reed-switches
to my arduino and taped them to my training bike. Than i sticked a rare earth magnet
on each pedal.&lt;/p&gt;

&lt;p&gt;the processing sketch draws a small figure on a bike which is animated at the same speed
as the bike.&lt;/p&gt;

&lt;p&gt;the sketch also records the timestamps to a log file for later analysis.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/bike-screenshot.png" alt="training bike" /&gt;&lt;/p&gt;
</description>
      <pubDate>2008-12-08T14:58:00+01:00</pubDate>
    </item>
    <item>
      <title>processing ical-flowers</title>
      <link>http://www.local-guru.net//blog/2008/12/6/processing-ical-flowers</link>
      <description>&lt;p&gt;I just made a &lt;a href="http://www.processing.org"&gt;processing&lt;/a&gt; sketch using my &lt;a href="http://www.local-guru.net/blog/pages/ical4p/"&gt;ical4p&lt;/a&gt; library.
The &lt;a href="http://www.local-guru.net/processing/flowers/"&gt;programm draws a flower&lt;/a&gt; for every event in a given ical-file. The
more events the calender has, the more beautifull the flower-garden is :-)&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/ical-flowers.png" alt="ical-flowers" /&gt;&lt;/p&gt;
</description>
      <pubDate>2008-12-06T22:42:00+01:00</pubDate>
    </item>
    <item>
      <title>Voting trend visualisation</title>
      <link>http://www.local-guru.net//blog/2008/10/2/voting-trend-visualisation</link>
      <description>&lt;p&gt;After every election, there is a poll resulting in a voter trend analysis.
i always liked the graphs they made from the data on tv. This time i desided
to make my own &lt;a href="http://www.local-guru.net/processing/votingtrend"&gt;voter trend visualisation&lt;/a&gt; in processing.&lt;/p&gt;

&lt;p&gt;i didn't know if i would be permitted to use actual data, so i used random()
to generate it.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/votingtrend.png" alt="votingtrend" /&gt;&lt;/p&gt;
</description>
      <pubDate>2008-10-02T06:16:00+02:00</pubDate>
    </item>
  </channel>
</rss>

