<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gilad Lotan</title>
	<atom:link href="http://giladlotan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://giladlotan.com</link>
	<description>I analyze and visualize data. VP of R&#38;D at SocialFlow. I blog here and write for Global Voices here.</description>
	<lastBuildDate>Mon, 19 Mar 2012 04:35:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>#OccupyWallStreet analyses</title>
		<link>http://giladlotan.com/occupywallstreet-analyses/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=occupywallstreet-analyses</link>
		<comments>http://giladlotan.com/occupywallstreet-analyses/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 19:28:27 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[information flow]]></category>
		<category><![CDATA[occupywallstreet]]></category>
		<category><![CDATA[ows]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=306</guid>
		<description><![CDATA[Two different SocialFlow analyses around #OccupyWallStreet]]></description>
			<content:encoded><![CDATA[<p>Two different SocialFlow analyses around #OccupyWallStreet:</p>
<p>1) <a href="http://blog.socialflow.com/post/7120244374/data-reveals-that-occupying-twitter-trending-topics-is-harder-than-it-looks">Data Reveals that Occupying Twitter Trending Topics is Harder than it Looks!</a> - explains the nature of Twitter&#8217;s trending topics algorithm, highlighting why OWS has never actually trended in NYC, even though its been a dominant topic, growing in volume across the board:</p>
<blockquote><p>What we’re seeing is an outcome of a purely algorithmic mechanism, with its built in biases, hence not always intuitive or logical. The algorithm is affected by volume, changes over time, and is customized for every one of the 111 geographic regions chosen by Twitter</p></blockquote>
<p>2) <a href="http://blog.socialflow.com/post/7120244404/occupywallstreet-origin-and-spread-visualized">#OccupyWallStreet: Origin and Spread Visualized</a> &#8211; A comparative mapping between the very first mentions of the movement back in July 2011, and the Zuccotti park cleanup event in October 2011. The first is a substantially slower information flow (1o days), while the latter takes place within several hours.</p>
<p><a href="http://giladlotan.com/2012/02/occupywallstreet-analyses/screen-shot-2011-10-17-at-10-48-21-pm/" rel="attachment wp-att-310"><img class="aligncenter size-large wp-image-310" title="OccupyWallStreet - zuccotti cleanup" src="http://giladlotan.com/wp-content/uploads/2012/02/Screen-shot-2011-10-17-at-10.48.21-PM-1024x567.png" alt="" width="800" height="442" /></a></p>
<p><a href="http://blog.socialflow.com/post/7120244404/occupywallstreet-origin-and-spread-visualized"><img class="aligncenter size-full wp-image-307" title="OWS - origin and spread" src="http://giladlotan.com/wp-content/uploads/2012/02/Screen-shot-2012-02-26-at-2.15.39-PM.png" alt="" width="799" height="394" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/occupywallstreet-analyses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Revolutions were Tweeted</title>
		<link>http://giladlotan.com/the-revolutions-were-tweeted/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-revolutions-were-tweeted</link>
		<comments>http://giladlotan.com/the-revolutions-were-tweeted/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 19:04:05 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[egypt]]></category>
		<category><![CDATA[ijoc]]></category>
		<category><![CDATA[information flow]]></category>
		<category><![CDATA[paper]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[revolution]]></category>
		<category><![CDATA[tunisia]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=301</guid>
		<description><![CDATA[Visualization and in-depth study of prominent information flows during the Tunisian and Egyptian revolutions]]></description>
			<content:encoded><![CDATA[<p>The shift from an era of broadcast mass media to that of networked digital media has altered both information flows and the nature of news work. Mainstream media (MSM) outlets have adopted Twitter as a means of engaging with and enlarging audiences, strengthening their reach and influence while also changing how they rely on and republish sources. During unplanned or critical world events such as the Tunisian and Egyptian uprisings, MSM turn to Twitter, both to learn from on-the-ground sources and to rapidly distribute updates.</p>
<p>The <a href="http://www.danah.org/projects/IJOC-ArabSpring/">data and findings on the site</a> are based on the paper <em><a href="http://www.danah.org/papers/2011/IJOC.html">The Revolutions were Tweeted</a></em> in which we extracted and analyzed prominent information flows on Twitter during the 2011 Tunisian and Egyptian uprisings.</p>
<blockquote><p>The flows are drawn from two datasets of public tweets each shared during a period of approximately one week. The first covers the Tunisian demonstrations from January 12–19, 2011; the second covers the Egyptian demonstrations from January 24–29, 2011. We analyzed both data sets to identify different types of users who posted to Twitter regularly, sorting them into what we call “key actor types”: e.g., MSM organizations, individual journalists, influential regional and global actors, and other participants who actively posted to Twitter on these two revolutions. We look at how each actor produced and passed information over the networks of Twitter users. In each case—Tunisia and Egypt—we describe how information flowed across different actor types and discuss why we see certain patterns. We conclude by discussing the symbiotic relationship between news media and information sources.</p></blockquote>
<p><a href="http://giladlotan.com/2012/02/the-revolutions-were-tweeted/screen-shot-2012-02-26-at-1-57/" rel="attachment wp-att-302"><img class="aligncenter size-large wp-image-302" title="The Revolutions Were Tweeted" src="http://giladlotan.com/wp-content/uploads/2012/02/Screen-shot-2012-02-26-at-1.57-1024x693.jpg" alt="" width="800" height="541" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/the-revolutions-were-tweeted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SocialFlow Audience Study</title>
		<link>http://giladlotan.com/socialflow-audience-study/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=socialflow-audience-study</link>
		<comments>http://giladlotan.com/socialflow-audience-study/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 18:02:30 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[al jazeera]]></category>
		<category><![CDATA[audience]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[cnn]]></category>
		<category><![CDATA[economist]]></category>
		<category><![CDATA[fox news]]></category>
		<category><![CDATA[gephi]]></category>
		<category><![CDATA[mainstream media]]></category>
		<category><![CDATA[new york times]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[socialflow]]></category>
		<category><![CDATA[topic mapping]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=293</guid>
		<description><![CDATA[An analysis of six major mainstream media Twitter audiences]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.socialflow.com/post/7120243870/audience-study">This SocialFlow study</a> maps out important engagement metrics across the Twitter audiences of six mainstream media news accounts. Historically we’ve used intuition to interact with our imagined audience, keeping mental models in our heads of what we think will be most entertaining and interesting. But with the advent of social network spaces, we can leverage available data to power thoughtful decisions on ways to interact with an ever-growing networked audience. Rather than using simplistic measures such as audience size or randomly choosing topics, there’s great potential in parsing real-time signals, identifying prominent discussion topics and getting to know an audience based on past actions – what they click on, retweet and post.</p>
<blockquote><p>In the following study, we analyze Twitter audiences of <a href="http://twitter.com/ajenglish">Al-Jazeera English</a>, <a href="http://twitter.com/bbcnews">BBC News</a>, <a href="http://twitter.com/cnn">CNN</a>,<a href="http://twitter.com/theeconomist">The Economist</a>, <a href="http://twitter.com/foxnews">Fox News</a> and <a href="http://twitter.com/nytimes">New York Times</a>, seeking to understand the makeup, behavior, interests, similarities and differences between networked audiences. We looked at measures of engagement such as the number of clicks shared urls receive, and the number of times content is retweeted by audience members. We visualized the content being clicked on in comparison to the content being shared.</p></blockquote>
<p>The visualization below highlights different conversations happening across the Al-Jazeera English (@AJEnglish) Twitter audience during the period of an hour. The larger the node, the more prominent that topic has been during the observed period, while the closer a node is to another, the more times they appeared together in people&#8217;s tweets.</p>
<p><a href="http://giladlotan.com/2012/02/socialflow-audience-study/screen-shot-2011-07-14-at-4-26-39-am/" rel="attachment wp-att-294"><img class="aligncenter size-large wp-image-294" title="Al Jazeera Audience" src="http://giladlotan.com/wp-content/uploads/2012/02/Screen-shot-2011-07-14-at-4.26.39-AM-1024x671.png" alt="" width="800" height="524" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/socialflow-audience-study/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Breaking Bin-Laden</title>
		<link>http://giladlotan.com/breaking-bin-laden/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=breaking-bin-laden</link>
		<comments>http://giladlotan.com/breaking-bin-laden/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 17:49:27 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[breaking news]]></category>
		<category><![CDATA[influence]]></category>
		<category><![CDATA[information flow]]></category>
		<category><![CDATA[rumors]]></category>
		<category><![CDATA[socialflow]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=287</guid>
		<description><![CDATA[Visualization and analysis of how Twitter broke the news about Osama Bin Laden's death]]></description>
			<content:encoded><![CDATA[<p>A full hour before the formal announcement of Bin-Laden’s death, Keith Urbahn posted his speculation on the emergency presidential address. Little did he know that this Tweet would trigger an avalanche of reactions, Retweets and conversations that would beat mainstream media as well as the White House announcement.</p>
<p>Keith Urbahn wasn’t the first to speculate Bin Laden’s death, but he was the one who gained the most trust from the network. Why did this happen?</p>
<p><a href="http://blog.socialflow.com/post/5246404319/breaking-bin-laden-visualizing-the-power-of-a-single">This SocialFlow study</a> maps out how this critically important piece of information spread across the network, beating the official White House announcement:</p>
<blockquote><p>Keith Urbahn wasn’t the first to speculate Bin Laden’s death, but he was the one who gained the most trust from the network. And with that, the perfect situation unfolded, where timing, the right social-professional networked audience, along with a critically relevant piece of information led to an explosion of public affirmation of his trustworthiness.</p></blockquote>
<p><a href="http://blog.socialflow.com/post/5246404319/breaking-bin-laden-visualizing-the-power-of-a-single"><br />
</a></p>
<p><a href="http://giladlotan.com/2012/02/breaking-bin-laden/screen-shot-2011-05-12-at-3-52-16-am/" rel="attachment wp-att-332"><img class="aligncenter size-large wp-image-332" title="Screen shot 2011-05-12 at 3.52.16 AM" src="http://giladlotan.com/wp-content/uploads/2012/02/Screen-shot-2011-05-12-at-3.52.16-AM-1024x603.png" alt="" width="800" height="471" /></a></p>
<p><a href="http://giladlotan.com/2012/02/breaking-bin-laden/screen-shot-2011-05-12-at-3-53-34-am/" rel="attachment wp-att-333"><img class="aligncenter size-large wp-image-333" title="Screen shot 2011-05-12 at 3.53.34 AM" src="http://giladlotan.com/wp-content/uploads/2012/02/Screen-shot-2011-05-12-at-3.53.34-AM-1024x601.png" alt="" width="800" height="469" /></a></p>
<p><a href="http://giladlotan.com/2012/02/breaking-bin-laden/screen-shot-2011-05-05-at-1-12-45-am/" rel="attachment wp-att-339"><img class="aligncenter size-large wp-image-339" title="Screen shot 2011-05-05 at 1.12.45 AM" src="http://giladlotan.com/wp-content/uploads/2012/02/Screen-shot-2011-05-05-at-1.12.45-AM-1024x725.png" alt="" width="800" height="566" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/breaking-bin-laden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Interactive Directed Graph</title>
		<link>http://giladlotan.com/html5-interactive-directed-graph/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=html5-interactive-directed-graph</link>
		<comments>http://giladlotan.com/html5-interactive-directed-graph/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 10:05:16 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Explorations]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[clustering]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=274</guid>
		<description><![CDATA[directed graph representation using the HTML5 canvas element]]></description>
			<content:encoded><![CDATA[<p>This is a work in progress, exploration of an interactive graph representation using the HTML5 canvas element. All nodes can be moved around. When mouse hovers over each node, its incoming and outgoing edges appear.</p>
<p style="text-align: center;"><iframe src="http://giladlotan.com/html5/graph/" width=600 height=300></iframe></p>
<p>Here&#8217;s a link to the <a href="http://giladlotan.com/html5/graph/">full screen version</a> (works best with chrome or safari).</p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/html5-interactive-directed-graph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FUSE Social Gadgets</title>
		<link>http://giladlotan.com/fuse-social-gadgets/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fuse-social-gadgets</link>
		<comments>http://giladlotan.com/fuse-social-gadgets/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 18:05:16 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=258</guid>
		<description><![CDATA[dynamic and embeddable visualization of realtime Twitter data]]></description>
			<content:encoded><![CDATA[<p>FUSE Social Gadgets are a set of embeddable widgets that visualize Twitter real-time data. Each gadget focuses on a given keyword and displays its volume of usage over time. Mentioned entities such as people, locations, companies and noun phrases are identified and visually represented. The gadgets are interactive, letting users explore the relationships between topics publically shared on Twitter. By focusing on patterns and trends, the gadgets can extrapolate what people find important, and provide a succinct yet effective way to look at events as they are unfolding.</p>
<p>Here&#8217;s an example gadgets mining all Twitter posts from the past 3 days that mention the term &#8216;NYTimes&#8217;:</p>
<p style="text-align: center;"><iframe src="http://embed.socialgadgets.fuselabs.com/Embed/A?keyword=NYTimes&#038;ts=ThreeDays&#038;ver=1.0" width="500" height="250" scrolling="no" frameborder="0"></iframe></p>
<h4>About</h4>
<p>Twitter, &#8216;the pulse of the world,&#8217; is an incredibly rich data source used by millions across the globe. People post their thoughts, ideas and whereabouts via text-based status updates. Visually displaying trending topics can help readers better understand content and its context. By using any one of the four SocialGadgets, data flowing through the Twitter fire hose is indexed and semantically analyzed in real-time. Within minutes, major entities are identified and their relationships are displayed. The gadgets are easily configured, allowing users to choose a keyword and a template type, then copy and paste an embed code to be displayed on a website of their choice.</p>
<p><a href="http://socialgadgets.fuselabs.com/">Give it a try!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/fuse-social-gadgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Canvas Flock Simulation</title>
		<link>http://giladlotan.com/html5-flock-simulation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=html5-flock-simulation</link>
		<comments>http://giladlotan.com/html5-flock-simulation/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 03:54:48 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Explorations]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[particle system]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=248</guid>
		<description><![CDATA[HTML5 canvas color flock simulation]]></description>
			<content:encoded><![CDATA[<p>Flock simulates objects (boids) that affect each other&#8217;s movement according to three simple <a href="http://www.red3d.com/cwr/steer/">steering behaviors</a>: separation, alignment and cohesion.</p>
<p style="text-align: center;"><iframe src="http://giladlotan.com/html5/flock-s/" width=600 height=150></iframe></p>
<p>Here&#8217;s a link to the <a href="http://giladlotan.com/html5/flock/">full screen version</a> (works best with chrome or safari).</p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/html5-flock-simulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Simple Particle System</title>
		<link>http://giladlotan.com/html5-simple-particle-system-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=html5-simple-particle-system-2</link>
		<comments>http://giladlotan.com/html5-simple-particle-system-2/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 03:50:27 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Explorations]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[particle system]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=243</guid>
		<description><![CDATA[Create a simple particle system that follows your mouse position using the HTML5 canvas]]></description>
			<content:encoded><![CDATA[<p>This simple particle system uses the HTML5 canvas object. It is based on <a href="http://www.shiffman.net/">Dan Shiffman</a>&#8216;s <a href="http://www.shiffman.net/teaching/nature/">Nature of Code</a> processing library, and runs best on Chrome and Safari, not as fast on Firefox, and will hopefully run in the upcoming IE9.</p>
<p style="text-align: center;"><iframe src="http://giladlotan.com/html5/ps1/" width="200" height="150"></iframe></p>
<p>The particle system generates particles every 10 ms from an origin point which follows the mouse location within the canvas. Each released particles is born with a given lifespan, acceleration and velocity. As the user&#8217;s mouse moves on the canvas, the particle follows along. As its lifespan ends, the particle fades and dies.</p>
<p>Here&#8217;s the crux of the code:</p>
<ol>
<ol>
<li><strong>Create a canvas element</strong><br />
Insert a canvas element into the body of your html page.</li>
</ol>
</ol>
<pre class="brush: xml; title: ; notranslate">
</pre>
<ol>
<ol>
<li><strong>Instantiate the visualization class</strong><br />
I use a variable called &#8216;viz&#8217; to hold the visualization class, which I later use to define the particle system.</li>
</ol>
</ol>
<pre class="brush: jscript; title: ; notranslate">
var viz = new Visualization();
</pre>
<ol>
<ol>
<li><strong>Pointers to canvas attributes</strong><br />
When rendering to the canvas we constantly need to use its context. By getting a handle to the canvas div element, we can access three super important attributes: (a) the canvas width (b) the canvas height (c) a pointer to its context</li>
</ol>
</ol>
<pre class="brush: jscript; title: ; notranslate">
var el = document.getElementById(&quot;viz&quot;);
this.canvasWidth = el.width;
this.canvasHeight = el.height;
window.ctx = el.getContext(&quot;2d&quot;);
</pre>
<ol>
<ol>
<li><strong>The particle system</strong><br />
The particle system class is effectively an array of particles and an origin point. There are 2 main methods: (a) add a new particle (b) run the system<br />
Here&#8217;s the run function for the particle system:</li>
</ol>
</ol>
<pre class="brush: jscript; title: ; notranslate">
// running the particle system
this.run = function(){
    // iterate through particles
    for (var i=viz.ps.particles.length - 1;i&gt;=0;i--){
        var p = viz.ps.particles[i];
        p.run();
        if (p.dead()){
            viz.ps.particles.splice(i,1);
        }
    }
}
</pre>
<ol>
<ol>
<li><strong>A particle</strong><br />
Each particle has a location (x,y coordinates), acceleration, velocity and size attributes. Additionally, every particle has a lifespan (this.timer) which defines how many iterations the particle will display, before it fades and dies. The main particle loop is comprised of two important functions:</li>
</ol>
</ol>
<p>(a) update the particle movement and remaining life span</p>
<pre class="brush: jscript; title: ; notranslate">
this.update = function(){
    // particle loop: acceleration, velocity, location update
    this.vel.add(this.acc);
    this.loc.add(this.vel);
    this.timer -= 1;
}
</pre>
<p>(b) render the particle to the canvas. Here I&#8217;m making it fade by setting it&#8217;s alpha value to decline as its remaining lifespan (this.timer) diminishes.</p>
<pre class="brush: jscript; title: ; notranslate">
this.fill = &quot;rgba(255,255,255,&quot;+this.timer/300+&quot;)&quot;;
this.drawCircle(ctx,this.loc.x,this.loc.y,this.r/2,this.fill);

this.drawCircle = function (ctx, x, y, r, fill) {
    ctx.fillStyle = fill;
    ctx.beginPath();
    ctx.moveTo(x, y);
    ctx.arc(x, y, r, Math.PI * 0, Math.PI * 2, true);
    ctx.closePath();
    ctx.fill();
}
</pre>
<ul>
<li><strong>Run the draw loop</strong><br />
This is the most important piece of the puzzle. By using the setInterval function, the draw function will be called every 25ms. This is very similar to what you do in processing (draw loop function). The loop is enabled by &#8216;setInterval&#8217;, while the draw function first clears the screen and then calls the particle system run function. There&#8217;s a neat effect when clearing the screen with such small alpha value. It creates a smearing effect which makes the circles have less defined borders. It is also computationally intensive, so beware&#8230;</li>
</ul>
<pre class="brush: jscript; title: ; notranslate">
// draw loop
this.timeUpdateInterval = setInterval(draw, 25);

function draw(){
    clear();
    viz.ps.run();
}

function clear(){
    ctx.fillStyle = &quot;rgba(0,0,0,0.1)&quot;;
    ctx.fillRect(0, 0, viz.canvasWidth, viz.canvasHeight);
}
</pre>
<p>That&#8217;s it. Put it all together, add the jquery library, and you have yourself a simple particle system.</p>
<p>See the full size version <a href="http://giladlotan.com/html5/ps1/">here</a>.</p>
<p>And download the full code <a href="http://giladlotan.com/html5/ps1/html5-particle-system.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/html5-simple-particle-system-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ReTweet Revolution</title>
		<link>http://giladlotan.com/retweet-revolution/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=retweet-revolution</link>
		<comments>http://giladlotan.com/retweet-revolution/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 02:55:20 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=230</guid>
		<description><![CDATA[A visual exploration of Twitter conversation threads in the days following the Iranian Elections of June 2009]]></description>
			<content:encoded><![CDATA[<p>ReTweet Revolution is a visual exploration of the most popular conversation threads that were passed amongst Twitter users at the time of the events following the Iranian elections in June of 2009. Twitter served as an incredibly engaging mechanism to disseminate information on the riots and protests that were taking place around the world. Its realtime qualities enables information to rapidly spread between users, while its personal style drives a sense of emotional involvement to the events. This piece aims to help viewers grasp which of the messages were chosen to be passed on by millions of twitter users, and how they were manipulated along the way. I strongly believe that the true revolution lies in how this medium lets people relate to news in an engaged manner. This is what I set out to explore by creating this visualization.</p>
<p style="text-align: center;"><a href="http://giladlotan.org/viz/iranelection">Give it a try!</a></p>

<a href='http://giladlotan.com/retweet-revolution/picture-1/' title='ReTweet Revolution'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/12/Picture-1-80x80.png" class="attachment-thumbnail" alt="ReTweet Revolution" title="ReTweet Revolution" /></a>
<a href='http://giladlotan.com/retweet-revolution/picture-2/' title='ReTweet Revolution'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/12/Picture-2-80x80.png" class="attachment-thumbnail" alt="ReTweet Revolution" title="ReTweet Revolution" /></a>
<a href='http://giladlotan.com/retweet-revolution/picture-3/' title='ReTweet Revolution'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/12/Picture-3-80x80.png" class="attachment-thumbnail" alt="ReTweet Revolution" title="ReTweet Revolution" /></a>
<a href='http://giladlotan.com/retweet-revolution/picture-7/' title='ReTweet Revolution'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/12/Picture-7-80x80.png" class="attachment-thumbnail" alt="ReTweet Revolution" title="ReTweet Revolution" /></a>
<a href='http://giladlotan.com/retweet-revolution/picture-17/' title='ReTweet Revolution'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/12/Picture-17-80x80.png" class="attachment-thumbnail" alt="ReTweet Revolution" title="ReTweet Revolution" /></a>

<h4>About</h4>
<p>It is still unclear if and how Twitter made an actual difference for people on the ground in Iran. There is not enough information to claim that Iranians had been using Twitter as a means to organize the protests. However, it is unquestionable that Twitter&#8217;s unique characteristics prompted distributed reactions on a scale never seen before, engaging people all around the world. By far, the messages with imminently important information, received an overwhelming amount of retweets: from posting proxy IP addresses to passing on a plea to wear green. However, as the events played out, users learned to post messages without linking to the origin as a means of protecting the Iranian sources. It is clear that retweeting is revolutionizing the way people connect to news and newsworthy events.</p>
<p>The ReTweet Revolution applet displays 372 of the most popular threads extracted from a pool of over 230,000 messages posted on Twitter between June 14th and June 24th. It is important to remember that this is only a sampling of the Twitter data polled from the public timeline at regular intervals. Nevertheless, the content is substantial enough to identify trends and get a sense for people&#8217;s practices.</p>
<p>The visualization begins on the 14th of June, displaying twitter messages as they come in throughout the night after election day in Iran. Each tweet is analyzed and placed within its corresponding thread, which then grows taller. As the time moves forwards, it is possible to see the different threads appear from the right. By clicking on one of the threads, the applet enters a focus screen that displays the chosen thread&#8217;s network structure. The yellow node in the middle represents the earliest published tweet, corresponding to this thread, that was found by the ReTweet Revolution script. Many times it serves as the central node &#8211; the starting point of the conversation. When focusing on a thread, it is possible to see how a message was ReTweeted from one user to another, along with how the message content was changed as it was passed.</p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/retweet-revolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Future of the Book</title>
		<link>http://giladlotan.com/the-future-of-the-book/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-future-of-the-book</link>
		<comments>http://giladlotan.com/the-future-of-the-book/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 14:32:17 +0000</pubDate>
		<dc:creator>giladlotan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[interactive installation]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://giladlotan.com/?p=194</guid>
		<description><![CDATA[Mixed media electronic sculpture]]></description>
			<content:encoded><![CDATA[<p>Three glowing screen are set amidst arching piles of ghostly pale books. One continuously reconfigures Twitter posts about reading, on another bouncing letters randomly settle into place, revealing pointed quotes about reading drawn from well-known books, while the third uses the viewer&#8217;s image to trace out a series of related passages.</p>

<a href='http://giladlotan.com/the-future-of-the-book/bcnm1/' title='view from outside, at the Berkeley Center for New Media'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/11/bcnm1-80x80.jpg" class="attachment-thumbnail" alt="view from outside, at the Berkeley Center for New Media" title="view from outside, at the Berkeley Center for New Media" /></a>
<a href='http://giladlotan.com/the-future-of-the-book/bcnm2/' title='camera sensor displays the viewers silhouette in text'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/11/bcnm2-80x80.jpg" class="attachment-thumbnail" alt="camera sensor displays the viewers silhouette in text" title="camera sensor displays the viewers silhouette in text" /></a>
<a href='http://giladlotan.com/the-future-of-the-book/bcnm3/' title='netbook shines atop a tower of books'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/11/bcnm3-80x80.jpg" class="attachment-thumbnail" alt="netbook shines atop a tower of books" title="netbook shines atop a tower of books" /></a>
<a href='http://giladlotan.com/the-future-of-the-book/books1/' title='books sprayed white'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/11/books1-80x80.jpg" class="attachment-thumbnail" alt="books sprayed white" title="books sprayed white" /></a>
<a href='http://giladlotan.com/the-future-of-the-book/books2/' title='books curve'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/11/books2-80x80.jpg" class="attachment-thumbnail" alt="books curve" title="books curve" /></a>
<a href='http://giladlotan.com/the-future-of-the-book/attachment/26/' title='installation at the Berkeley Center for New Media'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/12/26-80x80.jpg" class="attachment-thumbnail" alt="installation at the Berkeley Center for New Media" title="installation at the Berkeley Center for New Media" /></a>
<a href='http://giladlotan.com/the-future-of-the-book/bookexhibit9/' title='at the Boston Book Festival'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/11/bookexhibit9-80x80.jpg" class="attachment-thumbnail" alt="at the Boston Book Festival" title="at the Boston Book Festival" /></a>
<a href='http://giladlotan.com/the-future-of-the-book/bookexhibit8/' title='at the Boston Book Festival'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/11/bookexhibit8-80x80.jpg" class="attachment-thumbnail" alt="at the Boston Book Festival" title="at the Boston Book Festival" /></a>
<a href='http://giladlotan.com/the-future-of-the-book/bookexhibit4/' title='at the Boston Book Festival'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/11/bookexhibit4-80x80.jpg" class="attachment-thumbnail" alt="at the Boston Book Festival" title="at the Boston Book Festival" /></a>
<a href='http://giladlotan.com/the-future-of-the-book/bookexhibit13/' title='Visualizing people&#039;s Tweets about reading books'><img width="80" height="80" src="http://giladlotan.com/wp-content/uploads/2010/11/bookexhibit13-80x80.jpg" class="attachment-thumbnail" alt="Visualizing people&#039;s Tweets about reading books" title="Visualizing people&#039;s Tweets about reading books" /></a>

<h4>About</h4>
<p>The earliest writings were carved in stone or scratched in clay and tree-bark. By 2400 BCE people had begun rolling papyrus sheets into scrolls. These remained the most popular written form for the next three thousand years, until the Chinese invented paper and European scholars began to bind parchments sheets into codices. It would take thirteen more centuries for these two technologies to come together to form the book, and another hundred years, until around 1440, for the printing press to be invented and the modern industrial book object to be born. Since then, for over 500 years, the book has been the dominant form for written communication.</p>
<p>The printed book has transformed modern society, helping to bring about the Protestant Reformation, the scientific revolutions of the Renaissance, widespread literacy, etc. Today books are ubiquitous. We read them on subways, build shelves for them into our houses, and sell them in bookshops, cafes, and on the banks of the Seine.</p>
<p>But, after six centuries of world-changing influence, is the printed book about to join the clay table, the scroll, and the parchment codex as a historic, but obsolete, writing technology?</p>
<p>Electronic books make it possible to carry an entire library in one device. They can be annotated and animated. Today&#8217;s devices are still clunky and primitive &#8212; but they will revolutionize reading and writing. Today&#8217;s books are still written for paper &#8211; tomorrow&#8217;s will be written for a networked computational device, changing how we think about linearity, permanance and the soon to be archaic idea of reading as a solitary and private experience.</p>
<p>The Future of the Book is an installation marking this turning point in the history of the written word.</p>
<h4>Exhibitions</h4>
<ul>
<li>Commissioned by the Boston Book Festival, 2009</li>
<li>Berkeley Center for New Media, April 2010</li>
</ul>
<p><br/>Created in collaboration with <a href="http://smg.media.mit.edu/people/Judith/">Judith Donath</a> and <a href="http://www.bewitched.com/">Martin Wattenberg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://giladlotan.com/the-future-of-the-book/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

