<?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>Roll dock</title>
	<atom:link href="http://blog.rollstudio.it/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rollstudio.it</link>
	<description>Multimedia Design</description>
	<lastBuildDate>Fri, 16 Mar 2012 09:25:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>The &#8220;TreeMap&#8221; plugin</title>
		<link>http://blog.rollstudio.it/2009/11/the-treemap-plugin/</link>
		<comments>http://blog.rollstudio.it/2009/11/the-treemap-plugin/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 12:37:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Inside roll]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[Treemap]]></category>

		<guid isPermaLink="false">http://blog.rollstudio.it/?p=176</guid>
		<description><![CDATA[A bit of history How many times it happens to you to have few space on your hard disk and to want to know which are the folders that take most of the space? You would surely have liked a tool able to visualize these informations in a way easily understandable. Right for this task, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>A bit of history</strong></p>
<p>How many times it happens to you to have few space on your hard disk and to want to know which are the folders that take most of the space? You would surely have liked a tool able to visualize these informations in a way easily understandable. Right for this task, in 1990, a professor from University of Maryland, Ben Shneiderman, created the <strong>TreeMaps</strong>. The <strong>TreeMaps</strong> show data with rectangles with areas proportional to their value and with background colors.</p>
<p>Here is a nickel new jQuery plugin that will allow you to show <strong>TreeMaps</strong> on your site starting from datas in a simple HTML table or from other sources too.<br />
<span id="more-176"></span><br />
<strong>How it works</strong></p>
<p>The plugin is made of only one function <span style="font:12px monospace">treemap</span> that, applied to a <strong>jQuery</strong> object, replaces it with the <strong>TreeMap</strong> generated from the supplied datas.</p>
<p>If the jQuery object contains some HTML tables, the function <strong>treemap</strong> will extract automatically the data from the table [<a id="nh1" title="by default the label is supposed to be in the first column, the relative (...)" rel="footnote" href="#nb1">1</a>] and will replace it with a <strong>Treemap</strong></p>
<p>Here is an example:</p>
<p><em>To create a Treemap of dimensions 640&#215;480 starting from the tables in the page:</em></p>
<p><code dir="ltr">jQuery("table").treemap(640,480);</code></p>
<p>If the table datas are not in the first and the second column (and eventually in the third one for the color) you can set which are the columns containing the data to use (options <span style="font:12px monospace">labelCell</span>, <span style="font:12px monospace">dataCell</span> and <span style="font:12px monospace">colorCell</span>):</p>
<p><em>To create a Treemap of dimensions 640&#215;480 starting from the tables in the page, retrieving the descriptions from the 3rd column and the data from the 5th:</em></p>
<p><code dir="ltr">jQuery("table").treemap(640,480,{labelCell:2,dataCell,4});</code></p>
<p>If I would preserve the table in the page, I’d only need to set the element inside which I want to create the <strong>Treemap</strong> (option <span style="font:12px monospace">target</span>):</p>
<p><em>To create a Treemap of dimensions 640&#215;480 starting from the table with id &#8220;data&#8221; inside the element with id &#8220;map&#8221;:</em></p>
<p><code dir="ltr">jQuery("table#data").treemap(640,480,{target:"#map"});</code></p>
<p>If the jQuery object contains elements other than tables, or if you want to pre-process the datas before the creation of the <strong>Treemap</strong>, you can provide a function that will have the responsibility to extract the datas (option <span style="font:12px monospace">getData</span>):</p>
<p><em>To create a TreeMap from datas in an unordered list</em></p>
<div style="text-align: left;" dir="ltr"><code>&lt;ul&gt;<br />
&lt;li&gt;<br />
&lt;span&gt;Description&lt;/span&gt;<br />
&lt;span&gt;100&lt;/span&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;...&lt;/li&gt;<br />
...<br />
&lt;/ul&gt;</code></p>
<p>jQuery(&#8220;ul&#8221;).treemap(640,480,{getData:getDataFromUL});</p>
<p>function getDataFromUL(el) {<br />
var data = [];<br />
jQuery(&#8220;li&#8221;,el).each(function(){<br />
var item = jQuery(this);<br />
var row = [item.find("span.desc").html(),item.find("span.data").html()];<br />
data.push(row);<br />
});<br />
return data;<br />
}</p></div>
<p>The fuction <em>getData</em> takes as argument the element to which the plugin is applied and returns an array in which every element is in turn an array containing the description and the value of the data in the first and second item respectively (and eventually another data in the third item shown with a color code).</p>
<p>Here is an example of an array returned by getData:</p>
<div style="text-align: left;" dir="ltr">
<pre><code>[
  ['descr1',1],
  ['descr2',2],
  ['descr3',3]
]</code></pre>
</div>
<p>To create hierarchical <strong>TreeMap</strong>, you only need to provide in the options a function <em>getData</em> that returns a slightly different array. Instead of the value, that was in the second item of every row of the previous array, you need to put a new array of datas, as you can see below:</p>
<div style="text-align: left;" dir="ltr">
<pre><code>[
  ['level1',[
    ['level1-data1,1],
    ['level1-data2,2],
    ['level1-data3,3]
    ]
  ],
  ['level2',[
    ['level2-data1,1],
    ['level2-data2,2],
    ['level2-data3,3]
    ]
  ],
  ['level3',[
    ['level3-data1,1],
    ['level3-data2,2],
    ['level3-data3,3]
    ]
  ]
]</code></pre>
</div>
<p>The data visualization looks better if these last are sorted. The <strong>TreeMap</strong> plugin can automatically sort data setting the <span style="font:12px monospace">sort</span> option</p>
<div style="text-align: left;" dir="ltr"><code>jQuery("ul").treemap(640,480,{getData:getDataFromUL,sort:true});</code></div>
<p>Another option (<span style="font:12px monospace">headHeight</span>) can be used to set the height, in pixels, of the headings of the hierarchical groups. To disable the headings, you can set <span style="font:12px monospace">headHeight</span> to 0</p>
<div style="text-align: left;" dir="ltr"><code>jQuery("ul").treemap(640,480,{getData:getDataFromUL,headHeight:0});</code></div>
<p>To set the width, in pixel, of the borders between cells, the option <span style="font:12px monospace">borderWidth</span> is available.</p>
<p>When data contain the secondary value too to show the rectangle color, you can show a color legend with the <span style="font:12px monospace">legend</span> option. The legend automatically detects if the secondary data is a numeric one or not, showing a color gradient in the first case or a discontinue list of colors in the second one.</p>
<div style="text-align: left;" dir="ltr"><code>jQuery("ul").treemap(640,480,{getData:getDataFromUL,legend:true});</code></div>
<p>By default, the legend value description is just the secondary data. However you can set a callback function <span style="font:12px monospace">descriptionCallback</span> able to generate different descriptions starting from the secondary data</p>
<div style="text-align: left;" dir="ltr"><code>jQuery("ul").treemap(640,480,{getData:getDataFromUL,descriptionCallback:generateDescription});</code></p>
<p>function generateDescription(val) {return &#8220;Value: &#8220;+val;}</p></div>
<h3>The styles</h3>
<p>To attach styles to the <strong>TreeMaps</strong> here there are CSS classes to know:</p>
<ul>
<li> <code dir="ltr">.treemapView</code><br />
The class of the element that &#8220;contains&#8221; the treemap. For hierarchical treemaps, the cells of the higher levels contain an element with the class <code dir="ltr">.treemapView</code></li>
</ul>
<ul>
<li> <code dir="ltr">.treemapSquare</code><br />
The class of the element that contains a &#8220;row&#8221; od cells. The row can be horizontal or vertical</li>
</ul>
<ul>
<li> <code dir="ltr">.treemapH,.treemapV</code><br />
The class that sets the orientation of a row</li>
</ul>
<ul>
<li> <code dir="ltr">.treemapCell</code><br />
The class of a sigle cell.</li>
</ul>
<ul>
<li> <code dir="ltr">.treemapHead</code><br />
The class of the headings for hierarchical treemaps</li>
</ul>
<ul>
<li> <code dir="ltr">.treemapLegend</code><br />
The class of the legend bar</li>
</ul>
<ul>
<li> <code dir="ltr">.treemapLegendDescr</code><br />
The class of the legend descriptions</li>
</ul>
<h3><a title="Zip - 3.3 kb" type="application/zip" href="http://www.jquery.info/IMG/zip/treemap-1.0.3-2.zip">Download the plugin</a></h3>
<div>
<h2>Footnotes</h2>
<p>[<a id="nb1" title="Footnotes 1" rev="footnote" href="#nh1">1</a>] by default the label is supposed to be in the first column, the relative main data in the second one (area), the optional secondary data in the third one (color)</p>
<p>By <strong>Renato Formato</strong></p>
<h3>Demo</h3>
<ul>
<li> <a href="http://www.fbtools.com/jquery/treemap/">demo</a></li>
<li> <a href="http://www.fbtools.com/jquery/treemap/population.html">World population with treemaps</a></li>
<li> <a href="http://www.fbtools.com/jquery/treemap/googlenews.html">Google News</a></li>
</ul>
<h3>In the wild</h3>
<ul>
<li><a href="http://oursignal.com/">oursignal.com</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollstudio.it/2009/11/the-treemap-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DONNAèWEB 2009, 7 nomination, 6 sites, 5 categories</title>
		<link>http://blog.rollstudio.it/2009/11/donnaeweb-2009-7-nomination-6-sites-5-categories/</link>
		<comments>http://blog.rollstudio.it/2009/11/donnaeweb-2009-7-nomination-6-sites-5-categories/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 10:04:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Http]]></category>
		<category><![CDATA[Inside roll]]></category>
		<category><![CDATA[Works]]></category>
		<category><![CDATA[awards]]></category>
		<category><![CDATA[DONNAèWEB]]></category>
		<category><![CDATA[nomination]]></category>
		<category><![CDATA[roll]]></category>

		<guid isPermaLink="false">http://blog.rollstudio.it/?p=173</guid>
		<description><![CDATA[Roll Multimedia Design at Donna è Web! Below the noinations: EVENTI Lara Belcastro http://comicsxafrica.org Luisa Tatoli http://www.lasagradellacastagna.it GIURIA GIOVANI Lara Belcastro http://comicsxafrica.org Luisa Tatoli http://www.silvianheachkids.it IMPRESA/ECOMMERCE Lara Belcastro http://www.zipdesign.co&#8230;.uk WEB AGENCY Lara Belcastro http://www.rollstudio.it WEB DESIGN Lara Belcastro http://www.guiltypleasures.co.uk The feminine side of the web: DONNAéWEB is an award born in 2004 to promote female [...]]]></description>
			<content:encoded><![CDATA[<p>Roll Multimedia Design at Donna è Web!</p>
<p><img src="http://blog.rollstudio.it/wp-content/uploads/2009/11/dew.gif" alt="dew" title="dew" width="518" height="209" class="alignleft size-full wp-image-167" /><br />
<span id="more-173"></span><br />
Below the noinations:</p>
<p><strong>EVENTI</strong><br />
Lara Belcastro <a href="http://comicsxafrica.org">http://comicsxafrica.org</a><br />
Luisa Tatoli <a href="http://www.lasagradellacastagna.it">http://www.lasagradellacastagna.it</a></p>
<p><strong>GIURIA GIOVANI</strong><br />
Lara Belcastro <a href="http://comicsxafrica.org">http://comicsxafrica.org</a><br />
Luisa Tatoli <a href="http://www.silvianheachkids.it">http://www.silvianheachkids.it</a></p>
<p><strong>IMPRESA/ECOMMERCE</strong><br />
Lara Belcastro http://www.zipdesign.co&#8230;.uk</p>
<p><strong>WEB AGENCY</strong><br />
Lara Belcastro <a href="http://www.rollstudio.it">http://www.rollstudio.it</a></p>
<p><strong>WEB DESIGN</strong><br />
Lara Belcastro <a href="http://www.guiltypleasures.co.uk">http://www.guiltypleasures.co.uk</a></p>
<p>The feminine side of the web:<br />
<a href="http://www.donnaeweb.it/" style="color:#CC0098;" title="DONNAèWEB">DONNAéWEB</a>  is an award born in 2004 to promote female professionals in the web field. A prize to valorise women who works in IT in private companies, in the public and no-profit sector. Take part in the contest! DonnaèWeb is now an international award! </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollstudio.it/2009/11/donnaeweb-2009-7-nomination-6-sites-5-categories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The jFlip plugin</title>
		<link>http://blog.rollstudio.it/2009/10/the-jflip-plugin/</link>
		<comments>http://blog.rollstudio.it/2009/10/the-jflip-plugin/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 10:52:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Inside roll]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[jFlip]]></category>

		<guid isPermaLink="false">http://blog.rollstudio.it/?p=154</guid>
		<description><![CDATA[A flipping page gallery This plugin builds an image gallery made as a book. You can flip the book pages to view the next or previous image clicking or dragging the animated corners shown when hovering on the gallery area. By the way, no flash needed! Author: Renato Formato. Documentation The plugin needs jquery 1.2.3. [...]]]></description>
			<content:encoded><![CDATA[<div>
<h3>A flipping page gallery</h3>
<p>This plugin builds an image gallery made as a book.</p>
<p>You can flip the book pages to view the next or previous image clicking or dragging the animated corners shown when hovering on the gallery area.</p>
<p>By the way, no flash needed!</p>
<p>Author: Renato Formato.<br />
<span id="more-154"></span></p>
<h3>Documentation</h3>
<p>The plugin needs jquery 1.2.3. Tested with all jquery compatible browsers.</p>
<p>IE needs a <a href="http://www.jquery.info/scripts/jFlip/excanvasX.js">modified version of excanvas</a> I wrote that supports patterns (with a special feature to scale patterns) and rotated linear gradient.</p>
<p>You need to add the following line to the head:</p>
<div style="text-align: left;" dir="ltr"><code>&lt;!--[if IE]&gt;&lt;script type="text/javascript" src="excanvasX.js"&gt;&lt;/script&gt;&lt;![endif]--&gt;</code></div>
<h3>How to use the plugin</h3>
<p>The plugin finds all the images inside the provided selector and build the flipping book gallery.</p>
<div style="text-align: left;" dir="ltr"><code>$(selector).jFlip(width,height,options)</code></div>
<h3>Arguments</h3>
<ul>
<li> <strong>width (number &#8211; default 300)</strong> : width of the canvas in px</li>
<li> <strong>height (number &#8211; default 300)</strong> : height of the canvas in px</li>
<li> <strong>options (hash)</strong> :
<ul>
<li> <strong>background (string &#8211; default &#8220;green&#8221;)</strong> : background color when images are smaller than canvas (&#8220;red&#8221;,&#8221;#FFF&#8221;,&#8221;rgba(255,255,255)&#8221;)</li>
<li> <strong>cornersTop (boolean &#8211; default true)</strong> : true for top corners, false for bottom ones</li>
<li> <strong>scale (string &#8211; default &#8220;noresize&#8221;)</strong> :
<ul>
<li> &#8220;noresize&#8221; images are not resized</li>
<li> &#8220;fit&#8221; big images are resized to be completely visible</li>
<li> &#8220;fill&#8221; all images are resized keeping aspect ratio to fill the canvas</li>
</ul>
</li>
<li> <strong>gradientColors (array of strings &#8211; default [’#4F2727’,’#FF8F8F’,’#F00’])</strong> : the colors the corners (dark color, light color, plain color) <strong>since version 0.4</strong></li>
<li> <strong>curlSize (number &#8211; default 0.1)</strong> : the size of the corner as a fraction of height/width (ex: 0.1 sets corner width = jflip width*0.1 and corner height = jflip height*0.1) <strong>since version 0.4</strong></li>
</ul>
</li>
</ul>
<p><strong>Events &#8211; since version 0.4</strong></p>
<p>The elements on which jFlip is applied can bind the flip.jflip event, triggered on page flip</p>
<p>The event handler has the following signature:</p>
<div style="text-align: left;" dir="ltr"><code>function(event,current_page,total_pages)</code></div>
<h3>Download</h3>
<p><strong>Update v0.4 (28/2/2009)</strong>: New options to change the corners color and size. New event flip.jflip triggered on page flip</p>
<p><a href="http://www.jquery.info/scripts/jFlip/jquery.jflip-0.4.js">jFlip v0.4 (14 kB &#8211; great to debug or to read the code)</a></p>
<p><a href="http://www.jquery.info/scripts/jFlip/jquery.jflip-0.4.min.js">jFlip v0.4 minified (6kB &#8211; for production use)</a></p>
<p><a href="http://www.jquery.info/scripts/jFlip/excanvasX.js">excanvasX</a> updated with latest additions and bug fixes from google</p>
<p><strong>Update v0.3 (15/6/2008)</strong>: Fixed a bug with IE and mouse move management.</p>
<p><a href="http://www.jquery.info/scripts/jFlip/jquery.jflip-0.3.js">jFlip v0.3 (13 kB &#8211; great to debug or to read the code)</a></p>
<p><a href="http://www.jquery.info/scripts/jFlip/jquery.jflip-0.3.min.js">jFlip v0.3 minified (7kB &#8211; for production use)</a></p>
<p><a href="http://www.jquery.info/scripts/jFlip/excanvasX.js">excanvasX</a></p>
<h3>Demo</h3>
<p><a href="http://www.jquery.info/scripts/jFlip/demo.html">view the examples</a></p>
<p>By <strong>Renato Formato</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollstudio.it/2009/10/the-jflip-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Playing the building – An installation by David Byrne.</title>
		<link>http://blog.rollstudio.it/2009/08/playing-the-building-%e2%80%93-an-installation-by-david-byrne/</link>
		<comments>http://blog.rollstudio.it/2009/08/playing-the-building-%e2%80%93-an-installation-by-david-byrne/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 16:35:38 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[Http]]></category>
		<category><![CDATA[david byrne]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://blog.rollstudio.it/?p=38</guid>
		<description><![CDATA[Today I&#8217;d like to talk about a topic that is not inherent to our work, but Roll blog is also a window on the outside for Roll&#8217;s People. I&#8217;ve decided to talk about Playing the Building -an installation of David Byrne &#8211; that is placed in the RoundHouse Cafè in London, maybe because i&#8217;m a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-43" title="pianobyrne" src="http://blog.rollstudio.it/wp-content/uploads/2009/08/pianobyrne.png" alt="David’s idea is pretty strange and mad, but certainly fascinating : a building become a music instrument.. and i think that Byrne did it!" width="520" height="250" /></p>
<p>Today I&#8217;d like to talk about a topic that is not inherent to our work, but Roll blog is also a window on the outside for Roll&#8217;s People.</p>
<p>I&#8217;ve decided to talk about Playing the Building -an installation of David Byrne  &#8211; that is placed in the RoundHouse Cafè in London, maybe because i&#8217;m a crazy fan of Talking Heads.</p>
<p>David&#8217;s idea is pretty strange and mad, but certainly fascinating : a building become a music instrument.. and i think that Byrne did it!</p>
<p>He attached to an old organ, set at the center of the Roundhouse, a series of cables and wires attached to the building’s pillars and beams. Then he puts metallic elements that vibrate and resonate in response to the organ keys. And now the building is ready to compose melodies!</p>
<p>There&#8217;ll be also jam sessions with  Orphy Robinson, Leon Mitchner and Dj Walde <em><span style="font-style: normal;">on </span></em>13, 20 and 27 August.  Evrybody can bring his instrument  (only acoustic) and take part in an improvised session.</p>
<p>If someone have the possibility to go in London in these days i think that is not a bad idea to visit the RoundHouse.</p>
<p>For more info visit <a href="http://www.davidbyrne.com/playingthebuilding/" target="_blank">davidbyrne.com/playingthebuilding</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollstudio.it/2009/08/playing-the-building-%e2%80%93-an-installation-by-david-byrne/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome aboard.</title>
		<link>http://blog.rollstudio.it/2009/08/ciao-mondo/</link>
		<comments>http://blog.rollstudio.it/2009/08/ciao-mondo/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 16:24:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Inside roll]]></category>
		<category><![CDATA[roll]]></category>

		<guid isPermaLink="false">http://blog.rollstudio.it/?p=1</guid>
		<description><![CDATA[Here&#8217;s the new Roll Blog : and there are too many reasons.. we&#8217;d like to focus our blog on some categories that will move this space. Works &#8211; Sometimes we need to explain how a work is born , how it grows , what are the reasons that have get us to our work&#8217;s choises [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the new Roll Blog : and there are too many reasons.. we&#8217;d like to focus our blog on some categories <span style="text-decoration: none;">that will move this space.</span></p>
<p><strong>Works</strong> &#8211; Sometimes we need to explain how a work is born , how it grows , what are the reasons that have get us to our work&#8217;s choises and how we overcomed our difficulties. A space where we can compare our know-how with the others professionals one.</p>
<p><strong>Lab</strong> &#8211; Lab &amp; workshops , our lab is a new division of research , where we estimate new experimentations of different kind, from hardware to software. We develop several apps (from Arduino to Facebook, going trough 3D and Flash) oriented to the interaction design.</p>
<p><strong>Neighbors</strong> &#8211; In our professional path we have the luck to work with prestigious web and design agencies. We&#8217;d like to dedicate a space to them that , project by project , permit us to try on new challenges always more exciting.</p>
<p><strong>Http</strong> &#8211; Impossible for us to not dedicate a space at the informations that daily influence our work and our lifes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollstudio.it/2009/08/ciao-mondo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

