<?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>v3ga &#187; Javascript</title>
	<atom:link href="http://v3ga.net/blog/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://v3ga.net/blog</link>
	<description>Bits and Blobs</description>
	<lastBuildDate>Thu, 14 Apr 2011 19:55:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Openframeworks / ofxJavascript</title>
		<link>http://v3ga.net/blog/2009/09/openframeworksofxjavascript/</link>
		<comments>http://v3ga.net/blog/2009/09/openframeworksofxjavascript/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 23:02:23 +0000</pubDate>
		<dc:creator>v3ga</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[Openframeworks]]></category>

		<guid isPermaLink="false">http://v3ga.net/blog/?p=390</guid>
		<description><![CDATA[ofxJavascript is an addon developped for openframeworks that allows applications to embed and execute Javascript thanks to Mozilla engine.]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/ofxjavascript/"><img src="http://v3ga.net/blog/wp-content/2009/10/090910_ofxJS_testFontWheel.png" width="500"/></a></p>
<p>
I am pleased to announce the release of <a href="http://code.google.com/p/ofxjavascript/">ofxJavascript</a>, an addon developped for <a href="http://www.openframeworks.cc/">openframeworks</a> allowing to use javascript in c++ applications. More to come soon !</p>
]]></content:encoded>
			<wfw:commentRss>http://v3ga.net/blog/2009/09/openframeworksofxjavascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pump up the Tube</title>
		<link>http://v3ga.net/blog/2009/02/pump-up-the-tube/</link>
		<comments>http://v3ga.net/blog/2009/02/pump-up-the-tube/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 17:29:14 +0000</pubDate>
		<dc:creator>v3ga</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://v3ga.net/blog/?p=206</guid>
		<description><![CDATA[

All Right. Not sure if I am proud of this one, but anyway here it is : the YouTube Mixer.

This is a little project I worked on a boring Sunday afternoon. This web application (as I dare to call it) lets you mix two different streams from YouTube, with a crossfader controlling the sound volume [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://v3ga.net/YouTubeMixer/"><img src="http://v3ga.net/blog/wp-content/2009/02/081217_livecoding-2.png" alt="Pump up the volume" title="Pump up the volume" width="400" height="274" class="size-full wp-image-212" align="center" /></a></p>
<p>
All Right. Not sure if I am proud of this one, but anyway here it is : the <a href="http://v3ga.net/YouTubeMixer/">YouTube Mixer</a>.</p>
<p>
This is a little project I worked on a boring Sunday afternoon. This web application (as I dare to call it) lets you mix two different streams from <a href="http://www.youtube.com">YouTube</a>, with a crossfader controlling the sound volume of each video. Each one can be set by a simple input form, and a search frame can be displayed to that videos can be browsed.<br />
It&#8217;s then easy to just copy and paste the embed link and prepare your song to be mixed. The <strong>&#8220;related&#8221;</strong> feature of <a href="http://www.youtube.com">YouTube</a> makes perfect sense there, and comes to rescue if you are in lack of good tracks to put on.
</p>
<p>
The story behind is that I&#8217;ve been involved in several parties where nobody came up with some music to listen to. Opening a browser and start listening music from <a href="http://www.youtube.com">YouTube</a> videos was our best option.<br />
Each time some serious fun was going on doing this, with just one purpose in mind as you all may know : make the girl(s) dance and get crazy.
</p>
<p style="text-align:center">&gt;&gt;<a href="http://v3ga.net/YouTubeMixer/">YouTube Mixer</a>&lt;&lt;</p>
]]></content:encoded>
			<wfw:commentRss>http://v3ga.net/blog/2009/02/pump-up-the-tube/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LiveCoding library</title>
		<link>http://v3ga.net/blog/2009/01/live-coding-library/</link>
		<comments>http://v3ga.net/blog/2009/01/live-coding-library/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 00:18:20 +0000</pubDate>
		<dc:creator>v3ga</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[Vision Factory]]></category>

		<guid isPermaLink="false">http://v3ga.net/blog/?p=189</guid>
		<description><![CDATA[Live Coding 001 : font &#038; mouse. from v3ga on Vimeo.

The video shows how to import a true type font and use it within the javascript code through the library object. Images are managed the same way, by drag&#8217;n'dropping files on the main window.
One can see a quick glimpse on how to handle mouse events [...]]]></description>
			<content:encoded><![CDATA[<p><object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2754124&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=6699CC&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2754124&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=6699CC&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object><br /><a href="http://vimeo.com/2754124">Live Coding 001 : font &#038; mouse.</a> from <a href="http://vimeo.com/v3ga">v3ga</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>
The video shows how to import a true type font and use it within the javascript code through the <em>library</em> object. Images are managed the same way, by drag&#8217;n'dropping files on the main window.</p>
<p>One can see a quick glimpse on how to handle mouse events by implementing the <em>mouseMoved(x,y)</em> function on the fly.</p>
<p>
Tranformations and drawing syntax, as well as 2D/3D coordinates system, is of course inspired from <a href="http://www.processing.org" target="_new">Processing</a>, though minor differences remain (see  <em>window.width</em> and <em>window.height</em> for example). Also, you&#8217;ll notice the three main functions that are <em>init</em>, <em>update</em> and <em>render</em>. <em>init()</em> has to be called manually to load objects from the library or declare variables to be used through the whole script.
</p>
<p>
Hopefully I will release a version for <em>Mac Intel</em> at the beginning of February.
</p>
<p>
<strong>Links</strong></p>
<ul>
<li><a href="http://vimeo.com/2754124">Click to see the video in HD</a></li>
<li><a href="http://beart.wordpress.com/2009/01/07/%E2%80%9Clive-coding-extendsvision-factory%E2%80%9D-workshop/">Article on Beart</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://v3ga.net/blog/2009/01/live-coding-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>*deggv @ l&#8217;atelier hypermedia.</title>
		<link>http://v3ga.net/blog/2008/12/deggv-latelier-hypermedia/</link>
		<comments>http://v3ga.net/blog/2008/12/deggv-latelier-hypermedia/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 16:42:04 +0000</pubDate>
		<dc:creator>v3ga</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[Vision Factory]]></category>

		<guid isPermaLink="false">http://v3ga.net/blog/2008/12/deggv-latelier-hypermedia/</guid>
		<description><![CDATA[

*deggv stands for Démonstration d&#8217;écriture de graphisme génératif à la volée / Demonstration for generative graphics written on-the-fly.

Douglas and Ricardo of the school of Art of Aix-en-Provence invited me to animate a workshop around live coding last week, using the Vision Factory platform. *deggv was the final result of the work students did during the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/v3ga/3124348217/" title="*deggv @ hypermedia, Aix-en-provence. de v3ga, sur Flickr"><img src="http://farm4.static.flickr.com/3209/3124348217_0a23e34abc_o.png" width="500" alt="*deggv @ hypermedia, Aix-en-provence." /></a></p>
<p>
<strong>*deggv</strong> stands for <em>Démonstration d&#8217;écriture de graphisme génératif à la volée</em> / <em>Demonstration for generative graphics written on-the-fly</em>.</p>
<p><p>
<a href="http://www.abstractmachine.net">Douglas</a> and <a href="http://www.ecole-art-aix.fr/auteur56.html">Ricardo</a> of <a href="http://www.ecole-art-aix.fr">the school of Art of Aix-en-Provence</a> invited me to animate a workshop around <a href="http://v3ga.net/blog/2008/04/live-coding-rgb-cubes/">live coding</a> last week, using the Vision Factory platform. <br /><strong>*deggv</strong> was the final result of the work students did during the week and a kind of <em>cadavre exquis de code</em> was performed during one hour, each student relaying in front of the computer to type graphic commands.
</p>
<p>
The workshop was the opportunity to push the concept of live coding a bit further, by setting up a <strong>collaborative live coding</strong> between several computers.</p>
<p>The students took part in a programming session on a local server-clients <strong>network</strong> architecture. The final rendering was done on a server computer connected to a screen. The number of layers was directly related to the number of possible connected clients. Each layer was then driven by a <strong>javascript</strong> program typed on the client computer by a student and then sent to the server to be run.<br />For the sake of readability, the rendering was split in four equal windows but could be alpha-blended in one big layer (think of it as flattened photoshop layers).
</p>
<p>Basic graphic <a href="http://www.opengl.org/">OpenGL</a> commands were explored, from drawing simple lines to more complex shapes with the use of push() &#038; pop(). Live coding was really pedagogic there, beacause one could see for example that translate+rotate was different from rotate+translate by simply inverting a single line in the code.
</p>
<p>
<strong>Short video</strong><br />
<object width="500" height="282"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2594689&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=6699CC&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2594689&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=6699CC&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="282"></embed></object><br /><a href="http://vimeo.com/2594689">*deggv @ l&#8217;atelier hypermedia, aix-en-provence.</a> from <a href="http://vimeo.com/v3ga">v3ga</a> on <a href="http://vimeo.com">Vimeo</a>.
</p>
<p>
<strong>Some more links</strong></p>
<ul>
<li><a href="http://www.v3ga.net/hypermedia/livecoding/" target="_new">Repository for the workshop </a> (<em>bits of code, screenshots, &#8230;)</em></li>
<li><a href="http://www.abstractmachine.net/blog/vision-factory/" target="_new">Abstract machine announce</a>.</li>
<li><a href="http://www.flickr.com/photos/v3ga/3124348097/in/photostream/" target="_new">Some more renderings on Flickr</a>.</li>
<li><a href="http://www.2roqs.com/RQLab/19_live_coding" target="_new">Article on 2roqs website</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://v3ga.net/blog/2008/12/deggv-latelier-hypermedia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sevenfive visuals</title>
		<link>http://v3ga.net/blog/2008/10/sevenfive_visuals/</link>
		<comments>http://v3ga.net/blog/2008/10/sevenfive_visuals/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 10:21:00 +0000</pubDate>
		<dc:creator>v3ga</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[Vision Factory]]></category>

		<guid isPermaLink="false">http://v3ga.net/blog/2008/10/80/</guid>
		<description><![CDATA[

I played last wednesday with Sevenfive @ Son&#8217;art in Bordeaux, making the live visuals. Was nice !

]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.v3ga.net/blog/wp-images/visionfactory/081015_Sevenfive_v3ga_sonar.jpg" border="0" /></p>
<p>
I played last wednesday with <a href="http://www.myspace.com/5even5">Sevenfive</a> @ <a href="http://sonartbx.free.fr/">Son&#8217;art</a> in Bordeaux, making the live visuals. Was nice !<br />
<object width="480" height="362"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2233796&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2233796&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="480" height="362"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://v3ga.net/blog/2008/10/sevenfive_visuals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

