<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cathy&#039;s Blog &#187; Seneca</title>
	<atom:link href="http://cleung.wordpress.com/category/Seneca/feed/" rel="self" type="application/rss+xml" />
	<link>http://cleung.wordpress.com</link>
	<description>all things silica</description>
	<lastBuildDate>Mon, 30 Apr 2012 06:46:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cleung.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Cathy&#039;s Blog &#187; Seneca</title>
		<link>http://cleung.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cleung.wordpress.com/osd.xml" title="Cathy&#039;s Blog" />
	<atom:link rel='hub' href='http://cleung.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Giving a Processing.js Workshop</title>
		<link>http://cleung.wordpress.com/2012/04/30/giving-a-processing-js-workshop/</link>
		<comments>http://cleung.wordpress.com/2012/04/30/giving-a-processing-js-workshop/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 06:32:53 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Learning Processing.js]]></category>
		<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=394</guid>
		<description><![CDATA[Last Friday, I gave a workshop on Processing.js.  This workshop was aimed at girls of around 15 years of age with little to no programming background.  The challenge for this workshop was the very limited amount of time that was &#8230; <a href="http://cleung.wordpress.com/2012/04/30/giving-a-processing-js-workshop/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=394&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last Friday, I gave a workshop on <a href="http://processingjs.org">Processing.js.</a>  This workshop was aimed at girls of around 15 years of age with little to no programming background.  The challenge for this workshop was the very limited amount of time that was available (40 minutes).  I  thought I would write about my experience giving it and some changes that I would make the next time I did it.  If you are interested in the material I made for the workshop, its all on github and you can get it <a href="https://github.com/cathyatseneca/photoframe">here</a>.  Note that I will be making changes to it in the next few days(see below)</p>
<p>What I wanted to do was something cool that could be done in 40 min with girls who may not have done any programming.  I was given a lab with standard equipment (which did not include the Processing IDE).  There were two options for doing a workshop like this.  I could start from scratch or I could start with something that could be built on.  I decided on the latter because I thought being able to get something that looked really cool was important.  In the past I have helped with workshops for the same age/gender group and what I learned was that starting from scratch, not much would get done.   For most programmers,  tasks like putting together a simple web page or writing a simple script is easy even if we have never used a particular language. It is far too easy for us to underestimate how much time it would take for someone to be able to write a simple program.   Programming requires a certain amount of discipline.  Even languages like <a href="http://processing.org">Processing </a>which were designed to be easily accessible requires a certain syntactic awareness (spelling, capitalization, placement of ;&#8217;s and }  etc.) and all too often it is easy to make simple typos.  As we were using a plain text editor, knowing how to find syntax errors by sight was also important.  I also felt that you wanted to have a very specific goal.  &#8220;make a web page&#8221; or &#8220;make an animation&#8221; is too broad. Even something as simple as search for an image to put into a page would eat away at that time all too easily.</p>
<p>Thus, I decided that I wanted to have a very clear goal on what they will get when they finished.  I decided to have them put together an animated picture frame (essentially a slide show with an animated background).   The idea was simple to understand and it was clear what the goal was.  I got some photos to put into the album from my friends Raymond Wong and Samson Chan who had picked up photography as a hobby.  I wanted pictures that were pretty and fairly neutral in topic and both had recently taken pictures at various gardens and flower shows.</p>
<p>I then wrote a bunch of classes that would animate various objects.  In the end I had the following collection:</p>
<ul>
<li>polkadots   &#8211; a circle that moves around the page</li>
<li>triangles &#8211; a triangle that moves around the page and spins</li>
<li>fireworks &#8211; essentially exploding set of particles</li>
<li>flowers &#8211; a flower shape that floats downwards</li>
<li>poem &#8211; lines of text that would be drawn diagonally downwards.</li>
</ul>
<p>Most of these were created with random values for things like colors and positions by default.  These values could be changed via functions but could also be left alone. The picture frame could then be created by simply instantiating a bunch of these objects and drawing them in the draw() function.</p>
<p>My intial plan was to have a picture frame already done and have the students change things like colour of the flowers and so on.  You can see what I had thought would be a good starting point by looking <a href="http://cathyatseneca.github.com/photoframe">here. </a>   As a programmer, what I had done was of course create a sketch with an array of random polkadots/triangles/flowers/fireworks some text.  I handled all the initialization and drawing with loops.  The animation is busy which is ok because that is one of the things we could change.</p>
<p>However on the way to workshop this morning I started thinking some more about this&#8230; and I realized that I had made the mistake of being overly complex.  I was not keeping it simple because to understand something like arrays and loops took an extra step in the understanding of how programs work.   Its not necessarily hard to explain these but in 40 min, this was maybe a bit too much to ask.  Therefore in the last minute, I decided to change the main sketch.  Instead of starting with the kitchen sink, I decided to start off with a simple sketch that only ran through all the pictures. (essentially erased all but 5 lines of code.  This turned out to work pretty well and the feedback seemed positive (I&#8217;ll have to check the official feedback later <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). The students were able to add single instances of the different objects and modify things like colour or number of petals on the flowers and so on.</p>
<p>Here are some changes that I would make to make this workshop run smoother next time.</p>
<ul>
<li>change the text that was the default text for the &#8220;poem&#8221; class (going for the code poets theme&#8230; I had used a version of the initial main sketch source as the text) and that looks very confusing for the students to change because it looked like code.</li>
<li>change the way that text was added (separate the data from the code more&#8230; currently its all part of add() statements).  It would be better if I had declared a bunch of strings or read the text in from a file because that would have made it easier for the students to modify the text</li>
<li>don&#8217;t mix american and canadian spelling of the word &#8220;colour&#8221;.  I had named all the functions to change colours on the objects setColour().  unfortunately I made the mistake of having the function take color as the argument.  Thus to call the function, the students would have to write:  obj.setColour(color(&#8230;));   The different spellings make it extra confusing.  The better approach would be to have the object just take 4 floats and set the colour inside the function</li>
</ul>
<p>Mostly the changes are not difficult to make and I will be making them over the course of the next week.  I will also update the workshop instruction document to match the changes.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/394/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=394&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2012/04/30/giving-a-processing-js-workshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up Thunderbird with Seneca&#8217;s new staff email system</title>
		<link>http://cleung.wordpress.com/2012/01/31/setting-up-thunderbird-with-senecas-new-staff-email-system/</link>
		<comments>http://cleung.wordpress.com/2012/01/31/setting-up-thunderbird-with-senecas-new-staff-email-system/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 18:19:16 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=386</guid>
		<description><![CDATA[I&#8217;m writing this blog because I think that there may be other fellow Senecan&#8217;s out there that might be in the same boat as me and I want to help them out.  Recently we changed over our email system to &#8230; <a href="http://cleung.wordpress.com/2012/01/31/setting-up-thunderbird-with-senecas-new-staff-email-system/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=386&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m writing this blog because I think that there may be other fellow Senecan&#8217;s out there that might be in the same boat as me and I want to help them out.  Recently we changed over our email system to Microsoft Exchange Sever.  Now, while I had no great love for our old mail server, the new server meant that we had to update our email clients.   Helpdesk is supporting only outlook for mail clients and that just isn&#8217;t going to work for me.  They did however provide information on how to connect to the email server using IMAP.  This information is for the most part correct.  However, there are some things that don&#8217;t match up exactly with options available for Thunderbird.  So here is what you can do&#8230;</p>
<p>1) Thunderbird will auto detect your settings&#8230; this is probably the easiest way to do it and if I had let it do that I wouldn&#8217;t have been unable to sent email for a whole day <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .    Just go to the bottom of the account window, click on the account action button and choose add account and fill in the info in the dialog box and let Thunderbird do the rest.</p>
<p>2) If you want to manually set it up, the info supplied by ITS is correct however, there was a bit of confusion for me on the labelling.  For incoming server, choose SSL/TLS for outgoing choose STARTTLS</p>
<p>Anyhow hope this helps!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=386&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2012/01/31/setting-up-thunderbird-with-senecas-new-staff-email-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
		<item>
		<title>GJK Explained</title>
		<link>http://cleung.wordpress.com/2011/10/20/gjk-explained/</link>
		<comments>http://cleung.wordpress.com/2011/10/20/gjk-explained/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 15:25:19 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[open source]]></category>
		<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=383</guid>
		<description><![CDATA[A friend of mine has been writing an article that explains the GJK (GIlbert-Johnson-Keerthi) algorithm for collision testing.  His goal is to write something that comes at it from a geometric approach in the hopes to make it more understandable &#8230; <a href="http://cleung.wordpress.com/2011/10/20/gjk-explained/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=383&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A friend of mine has been writing an article that explains the GJK (GIlbert-Johnson-Keerthi) algorithm for collision testing.  His goal is to write something that comes at it from a geometric approach in the hopes to make it more understandable as he finds that many of the other explanations are far too convoluted to follow.  If you are interested in collision detection and how to test it easily you should check it out.  He would love to get some feedback on whether what he wrote is easy to understand and how things could be clarified.</p>
<p>You can find it here: <a href="http://phill.vec3.net/gjk"> http://phill.vec3.net/gjk</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/383/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=383&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2011/10/20/gjk-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Data Structure Animations with Processing.js</title>
		<link>http://cleung.wordpress.com/2011/09/16/creating-data-structure-animations-with-processing-js/</link>
		<comments>http://cleung.wordpress.com/2011/09/16/creating-data-structure-animations-with-processing-js/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 06:37:07 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Learning Processing.js]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=374</guid>
		<description><![CDATA[Ever since I saw the first demonstration of Processing.js I have wanted to do something with it.  I teach a data structures and algorithms course and one of the annoying things I have found is that many of the animations &#8230; <a href="http://cleung.wordpress.com/2011/09/16/creating-data-structure-animations-with-processing-js/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=374&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ever since I saw the first demonstration of <a href="http://processingjs.org">Processing.js</a> I have wanted to do something with it.  I teach a data structures and algorithms course and one of the annoying things I have found is that many of the animations for showing how these structures work were written in Java and put on a web page as an applet.  Many of these animations are also just broken.   Thus as a response I thought it would be a good idea to put together a set of algorithms animations that didn&#8217;t need any plugins.</p>
<p>I started putting together a small bubble sort animation about a year ago.  I liked the way the way the final animation looked but I didn&#8217;t like the way the code looked and felt.  It was really hacky and not very good.  Definitely not extendible for other algorithms.  About a week ago I decided to restart that effort.  I thought about what would actually be necessary to do general algorithms and data structure animations.  I rewrote the code (you can get it here: https://github.com/cathyatseneca/DSAnim ).  Currently the code animations are pure <a href="http://processing.org">Processing </a>sketches (I didn&#8217;t stick any bits of JS in my sketch this time <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ).  However that might change later when I try to add in controls.  You can check it out live here:</p>
<p><a href="https://cs.senecac.on.ca/~catherine.leung/sketches/index.html">https://cs.senecac.on.ca/~catherine.leung/sketches/index.html</a></p>
<p>When I was putting these animations together, one of the things that I had trouble with was translating the algorithms into animations. Processing works by repeatedly calling a draw() function in which you tell it what to draw in the next frame.  In other words there is a sort of built in loop.  While it is possible to call a function for some algorithm (a sort for example) within the draw loop, you can&#8217;t really animate it just by calling it as it will be called each frame and what you want is to animate steps within the function.</p>
<p>I admit that I&#8217;m very new to Processing.  Thus, this may not be the best way to do this (if anyone has suggestions please let me know!)  The design I settled on in the end was to create a general array animation. The array has a single draw function that the main draw loop will call.  Depending on the state of the array, the array&#8217;s draw() function will animate one frame of what is going on (one frame of a swap for example).</p>
<p>The array has states which determines what to draw.   Currently the array has these functionalities:</p>
<ul>
<li>moves (move number from one element to another)</li>
<li>swaps (swaps two values in array)</li>
<li>stable (nothing is happening)</li>
<li>move to temp (move number to a temporary location out of array)</li>
<li>move from temp (move number from temporary location to array)</li>
</ul>
<p>The object also has indicators and a splitter bar that you can add to your animation. You can also change the colour of the text in the array.</p>
<p>So far I have completed the bubble and insertion sorts.  I think I will need to add more functionality to properly show merge sort.  I have not yet really thought too much about a quick sort.  After the sorts I will probably start looking to add trees and lists.  I am hoping to also add animations for other data structures as well.  The code is far from perfect but it looks neat and for now that will have to do <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/374/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=374&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2011/09/16/creating-data-structure-animations-with-processing-js/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
		<item>
		<title>First Blog of Year and a Story of a Scam</title>
		<link>http://cleung.wordpress.com/2011/09/15/first-blog-of-year-and-a-story/</link>
		<comments>http://cleung.wordpress.com/2011/09/15/first-blog-of-year-and-a-story/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 21:29:10 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=367</guid>
		<description><![CDATA[Hi All, The new school years begins so I figured I should write a blog post for planet CDOT.  Now&#8230; the only question is what to write about?  I had been working on trying to create a series of processing.js &#8230; <a href="http://cleung.wordpress.com/2011/09/15/first-blog-of-year-and-a-story/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=367&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi All,</p>
<p>The new school years begins so I figured I should write a blog post for planet CDOT.  Now&#8230; the only question is what to write about?  I had been working on trying to create a series of processing.js animations to illustrate how some algorithms works.  But then while trying to figure out the best way to animate a merge sort, I got a call.</p>
<p>It was one of those long distance call rings which meant that it was either my parents or telemarketers&#8230;I hate being telemarketed to.  I know that the telemarketers are just paid to do a job so I&#8217;m polite to them but I really don&#8217;t like getting calls from people I don&#8217;t know.  Thus the conversations usually go: &#8220;Thank you for calling, can you please take me off your calling list.&#8221;.  Usually they do this or at least say they will and hang up.</p>
<p>Anyhow, this person calls and since I didn&#8217;t recognize their voice I start on the &#8220;please take me off your list&#8221; line.  They then proceed to tell me that they are calling because they are detecting that my computer is downloading a lot of viruses.  And since I couldn&#8217;t believe my ears to the silliness of that statement I said &#8220;what?&#8221; over the phone.  He then says something about detecting many viruses being downloaded onto my windows computer.  (I have been using Macs for about 3 years now and I&#8217;m only ever on windows bootcamp partition when I absolutely have to be). So I insist that I highly doubt that my computer has a problem.  He then insists that they have an &#8220;internet research company&#8221; that was detecting a large number of virus downloads to my computer.  This exchange happens a few more times (I think he missed the part where I said I blew up my windows machine 3 years ago)</p>
<p>Although I was irritated about getting telemarketed/scammed at I thought it was really really funny at the same time. I really wanted to see where this was going.  So I asked &#8220;So how are you able to associate my computer&#8217;s IP with my phone number&#8221;.  And then he continuous on about whether or not I knew what a virus was and how my windows computer was infected.  I then told him to hold because he was too funny and I had to record him for my students.  A few seconds later he hung up.  I guess that he didn&#8217;t want me using it to teach my students about viruses on windows.  You would think he would love to have his research shared <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
<p>Now, having finished this conversation I wanted to know what was going on so I did a search on scams, viruses and telemarketing.  Apparently there are some social engineering scams where these telemarketers would try to gain access to a person&#8217;s computer and then use it to steal credit card info.  For myself, I knew this was a hoax from the start but I can&#8217;t help to think what would happen if this was someone like my parents who aren&#8217;t really comfortable with computers.  Would they fall for it?  How do we spread the word to our friends and family about these sorts of scams so that they are aware of them and won&#8217;t fall victim.  I think I will start by writing this blog.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=367&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2011/09/15/first-blog-of-year-and-a-story/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
		<item>
		<title>SIGGRAPH 2011!</title>
		<link>http://cleung.wordpress.com/2011/08/17/siggraph-2011/</link>
		<comments>http://cleung.wordpress.com/2011/08/17/siggraph-2011/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 08:19:29 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=356</guid>
		<description><![CDATA[Last week was an exhuasting week in Vancouver, attending and speaking at SIGGRAPH-2011.  For those unfamiliar, SIGGRAPH is a huge academic computer graphics conference.  This year, students and faculty from Seneca College&#8216;s Centre for Development of Open Technology, presented a &#8230; <a href="http://cleung.wordpress.com/2011/08/17/siggraph-2011/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=356&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last week was an exhuasting week in Vancouver, attending and speaking at <a href="http://www.siggraph.org/s2011/">SIGGRAPH-2011.  </a>For those unfamiliar, SIGGRAPH is a huge academic computer graphics conference.  This year, students and faculty from <a href="http://www.senecac.on.ca">Seneca College</a>&#8216;s <a href="http://cdot.senecac.on.ca">Centre for Development of Open Technology</a>, presented a talk titled: <a href="http://www.siggraph.org/s2011/for_attendees/talks/sessions/113">Processing.js: Sketching with &lt;canvas&gt;</a>.  This talk was authored by Andor Salga, Daniel Hodgin, Anna Sobiepanek, Scott Downe, Michael Medel and myself.  Before we start I want to give a big round of thanks to everyone involved with the paper.  Not only to the authors, but also to  the support from our other colleagues for their reading, re-reading and revising of the paper and the presentation.</p>
<p>Our talk was scheduled on the Monday of the conference (2nd day) in a Session called Changing Dimensions.  There were originally suppose to be 4 talks in this session but one talk pulled out at the last minute leaving only 3.  The other two talks were about converting 2D animations to 3D animations and the methods used to do so.  We were the last of the 3 talks.  Before we gave the talk, I was really happy with the sketches we had put together, the demos that we had done and our slides in general.  Yes, there was indeed a lot of programmer art but it was neat and tidy.  Then the first presentation was about creating stereoscopic 3D version of the lion king&#8230;which of course sets the bar a lot higher.  However, considering what we were talking about, I was still very happy at what we have done.  We will post these slides soon, but we felt that a voice over would probably help quite a bit so holding off on this for now.</p>
<p>One of the weird things I had found about our talk was that it seemed to be not really related to the other 2 talks in the same session.  Both of those and the one that was cancelled were all about stereoscopic 3D so our web graphics related talk seemed a bit out of place.  Other than the part of the paper where we said &#8220;we implemented the 3D portion of processing.js&#8221; I don&#8217;t quite see how we had fitted there.  However, after the talk, we had many people come and ask us questions about pjs.  People were interested in using it.  One of the people who came up to us after was actually a former student of mine who had moved out to Vancouver.  It was really amazing to see the interest that people had in it.</p>
<p>We attended the SIGGRAPH reception.  It was good, we had a chance to wander and relax.  I admit I faded earlier than Andor and Daniel did so left for the hotel about 30 min earlier.</p>
<p>The next 3 days of SIGGRAPH blurred into one for me.  Two things really stood out for me.  The first , was a Birds of a Feather talk on <a href="http://planet-webgl.org/">WebGL</a>.  These were smaller talks but the room was packed full with people going out the door.  We saw some really amazing WebGL demos.  Everything from a <a href="http://www.myrobotnation.com/">robot customizer</a> that you can use to put together a robot for 3D printing (I am totally getting one! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )  to web based training software for heptic surgery equipment (I am probably not using the right term to describe this).  It is amazing what is possible with WebGL now that it is more readily available.</p>
<p>The second was by one of the developers of <a href="http://www.x3dom.org/">X3DOM</a> is a WebGL based JS library that allows a scene to be specified with X3D.  The most amazing part of the talk was about how he encoded an entire mesh as an image and pushing a large mesh that loaded in fractions of a second.  Since XB-pointstream works with very large data sets, something like this would be a really useful technique to transfer the points needed for the point clouds.</p>
<p>Other than the talks, the exhibition and art show were very cool.  There were some really interesting exhibitions.  I also got a chance to do a beginner tutorial with a wacom tablet.  I had never used one before and my ability to draw is &#8230; well lets just say that there is a reason I&#8217;m not in the art department <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  I had always been amazed at how people could actually draw digitally&#8230; I have never had that sort of control of mouse.  With the tablets&#8230; I can see how its possible.</p>
<p>We also had a chance to meet up with Steve DiPaolo from SFU.  He was a partner in our<a href="http://catgames.ca/"> CATGames</a> project and it was pretty cool to meet with him again.  He had some interesting project ideas for applications of the work we are doing.</p>
<p>We also attended a BOF for educators that used <a href="http://processing.org">Processing</a>.  We had a chance to talk with them about <a href="http://processingjs.org">Processing.js</a>.  There are many people who use Processing but not as many know about Processing.js so connecting with them was pretty cool.  Spread the word!</p>
<p>Anyhow SIGGRAPH was definitely a positive experience both as a presenter and as an attendee.  It was useful in meeting people who was working in the same field and learning about other projects and techniques.  Definitely worth considering attending next year.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/356/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=356&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2011/08/17/siggraph-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
		<item>
		<title>Playing with Phonegap and Phonegap Build</title>
		<link>http://cleung.wordpress.com/2011/06/15/playing-with-phonegap-and-phonegap-build/</link>
		<comments>http://cleung.wordpress.com/2011/06/15/playing-with-phonegap-and-phonegap-build/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 15:57:57 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=350</guid>
		<description><![CDATA[I have been pushing our game written in Processing.js onto devices via Phonegap and so far, I&#8217;m pretty impressed by what I see.  The performance on the ipods and ipads are now at least playable and we have not yet &#8230; <a href="http://cleung.wordpress.com/2011/06/15/playing-with-phonegap-and-phonegap-build/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=350&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been pushing our game written in <a href="http://processingjs.org">Processing.js </a>onto devices via <a href="http://www.phonegap.com/">Phonegap</a> and so far, I&#8217;m pretty impressed by what I see.  The performance on the ipods and ipads are now at least playable and we have not yet really done any performance tuning (other than removing the use of tint() every frame).  It is signifantly faster on the ipad but that is likely due to hardware.</p>
<p>Yesterday, I decided to try pushing our game onto android devices just to see if it would work. I&#8217;m not going to spend too much time on this as it is not a specified deliverable but it would be good to see if it was possible.  I had never done anything with android devices nor did I have an environment set up.  Phonegap currently has a cloud base build system where you can send it a repo or zip file and it creates the the app for you.  I decided to try that out since it was free for beta testing atm.   For actual device testing we have an HTC desire Z and a motorola Xoom tablet.  We also have a motorola atrix that i have not yet tested on.  The results were mixed.  Here are some things to note</p>
<p>1) the build system makes it really easy to deploy your code on multiple platforms.  After waiting for it to finish compiling my code, I only needed to navigate to it via the browser on the android devices, download it, and install it.  Make sure you have your application settings changed to allow for non-marketplace sources&#8230; I think they called it something scary like allow unknown sources under application management settings.  It was painless and simple.</p>
<p>2) I was unable to get it working on the HTC desire at all.  After searching the forums/web for why, it seems like it is likely that it is simply taking too long for it to load (there is a 20s time out). I know that on the ipod, it takes a while for us to load our stuff in.  I&#8217;m thinking that this is something we will probably have to look at in the future.<br />
3) I was able to get it put on the xoom tablet but only as a phone size app.   It was running blazingly fast but it is uncertain if this is at least partly size related.  Currently there does not appear to be a way to change the size of the app based on the resolution size or target a specific device but it is something they are working on for future versions of phonegap build.</p>
<p>In any case, so far I&#8217;m pretty happy with what I&#8217;m seeing.  It certainly makes building one application for multiple platforms a lot easier.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/350/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=350&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2011/06/15/playing-with-phonegap-and-phonegap-build/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
		<item>
		<title>Phonegap + Processing.js</title>
		<link>http://cleung.wordpress.com/2011/06/04/phonegap-processing-js/</link>
		<comments>http://cleung.wordpress.com/2011/06/04/phonegap-processing-js/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 07:01:19 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=346</guid>
		<description><![CDATA[This summer we are creating a game (that we can&#8217;t really talk about till release).  The game is being built with Processing.js.  One of the key issues is to be able to target multiple platforms (web, handhelds etc.) and in &#8230; <a href="http://cleung.wordpress.com/2011/06/04/phonegap-processing-js/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=346&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This summer we are creating a game (that we can&#8217;t really talk about till release).  The game is being built with Processing.js.  One of the key issues is to be able to target multiple platforms (web, handhelds etc.) and in particular iOS.  Initially we had thought about creating the game as simply a web page that you can play via the browser on whatever platform.  However, due to the fact that you will likely lose screen real estate for the menu/navigation this would not be a great idea.  We would also have issues when the device is turned as there isn&#8217;t a way to lock the browser in one mode (portrait or landscape).</p>
<p>After consulting with my colleague David Humphrey, we decided to give Phonegap a try.  For those of you not familiar with phonegap, it is an open source framework that runs webapplications (html, css, javascript) natively on different phone platforms.  This afternoon I gave it a go.  The application was pretty easy to use.  After you install it you can create a phonegap project and it provides the framework for you.  The project comes with an html file that I modified in the following manner</p>
<p>to the &lt;head&gt; portion</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;processing.js&#8221;&gt;&lt;/script&gt;</p>
<p>and put</p>
<p>&lt;canvas data-processing-sources=&#8221;mypde.pde&#8221; width=&#8221;1024&#8243; height=&#8221;768&#8243;&gt;&lt;/canvas&gt;</p>
<p>into the &lt;body&gt; section.</p>
<p>I then placed the .pde file into the same folder with the index.html file and added all the other images. After that, I just built it in xcode.</p>
<p>There was only one problem I had and that was the fact that the build was set by default to iphone build so I ended up with this tiny little frame showing only 1/4 of my sketch.  I had not done much development with iOS so it took me a while to find the place to change the setting.  But after looking around I found it in the project setting -&gt; build tab -&gt; Targeted Device Family</p>
<p>changed it from iphone to ipad and it worked beautifully.  I have yet to test on actual hardware so I&#8217;m not sure how bad the performance hit will be when the app is deployed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/346/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=346&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2011/06/04/phonegap-processing-js/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
		<item>
		<title>Summer at CDOT</title>
		<link>http://cleung.wordpress.com/2011/05/06/summer-at-cdot/</link>
		<comments>http://cleung.wordpress.com/2011/05/06/summer-at-cdot/#comments</comments>
		<pubDate>Fri, 06 May 2011 05:30:11 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=343</guid>
		<description><![CDATA[Summer is an exciting time for the Centre of Development of Open Technology (CDOT).  This summer we have over 20 researchers working on various projects.  This is a lot more than we have had in past summers and the atmosphere &#8230; <a href="http://cleung.wordpress.com/2011/05/06/summer-at-cdot/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=343&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Summer is an exciting time for the <a href="http://cdot.senecac.on.ca">Centre of Development of Open Technology (CDOT).</a>  This summer we have over 20 researchers working on various projects.  This is a lot more than we have had in past summers and the atmosphere has been very exciting (and loud).  I would like to start by welcoming all the new people to the group.  We are very happy to have you work with us this summer <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>For myself, I&#8217;m starting off the summer with a good deal of writing.  Our talk for <a href="http://processingjs.org">Processing.js</a> was accept for <a href="http://www.siggraph.org/s2011/">SIGGRAPH 2011</a> and we made some changes based on reviewer comments.  Other than that I&#8217;ve also been working on getting another paper prepared.   Things are going well and everything should be done for tomorrow.</p>
<p>Next week will see the continued progress on various projects.  It should be a very exciting summer at CDOT.  I&#8217;m looking forward to it very much!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/343/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=343&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2011/05/06/summer-at-cdot/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox 4 release!</title>
		<link>http://cleung.wordpress.com/2011/03/22/firefox-4-release/</link>
		<comments>http://cleung.wordpress.com/2011/03/22/firefox-4-release/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 22:07:40 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Canvas 3d]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://cleung.wordpress.com/?p=335</guid>
		<description><![CDATA[Firefox 4 is being released today and with it the realization of a promise made long ago.  It has been more than 4 years ago when we started our project on providing a JavaScript library c3dl.  It was named after &#8230; <a href="http://cleung.wordpress.com/2011/03/22/firefox-4-release/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=335&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Firefox 4 is being released today and with it the realization of a promise made long ago.  It has been more than 4 years ago when we started our project on providing a JavaScript library c3dl.  It was named after Canvas3D the precursor to WebGL.  For those of you not familiar with WebGL, it essentially allows you to use hardware accelerated graphics in the web browser using OpenGL ES 2.0 api in JavaScript.</p>
<p>TL;DR version: fast 3D graphics in the browser!.</p>
<p>When we first started c3DL, Canvas3D was a plug-in (which was really odd because the whole idea was to be able to do 3D graphics in the web page without any plug-ins).  I remember explaining to people how Canvas3D will let people do 3D graphics in the browser without any addons&#8230;and that if they wanted to check it out they should go and download the addon for it.  We had tutorials on how to get the right browser, how to install the add-on how and test if you did everything correctly.   Even in pre-release versions of Firefox 4, WebGL had to be enabled in about:config.  Finally today WebGL just comes shipped with the browser.  All the things we have been working on are now viewable without plug-ins or changing any settings.  With Firefox 4&#8242;s release the number of browsers there are 2 browsers that come WebGL enabled.</p>
<p>Firefox 4 did more than just turn on a switch for WebGL.  It also came with some crazy enhancements to their JavaScript engine.  When c3DL first started, our first demo consisted of 4 spinning cubes.  It was really really boring.  However, one of the really odd things about it was that after a few seconds of spinning it would have this noticeable pause.  Basically a garbage collection pause.  Today this is gone for the most part.  The graphics made with WebGL has frame rates.</p>
<p>What to do with your shiny new browser:</p>
<p>sooo&#8230; now that you have got your new firefox 4 browser, what is  there to do?  What is there to check out?  Here are some demos.  It is  admittedly Seneca-centric featuring work developed by staff and students  at Seneca.</p>
<ul>
<li>3D pictures! http://scotland.proximity.on.ca/asalga/</li>
<li>If you have a laptop with a sudden motion sensor check this out (won&#8217;t work on devices without): http://scotland.proximity.on.ca/asalga/demos/sms/</li>
<li>This is a bit old as we haven&#8217;t updated c3dl demos for ages but if  you haven&#8217;t seen it yet, check out what is possible!  http://www.c3dl.org</li>
<li>My colleague Dave Humphrey developed the audio api shipping with  Firefox 4.  Here is his blog post on the subject.  Check out all the  links at the bottom &#8230; they are super cool!  http://vocamus.net/dave/?p=1273</li>
<li>Some 3D processing.js sketches http://matrix.senecac.on.ca/~asalga/pjswebide/index.php</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cleung.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cleung.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cleung.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cleung.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cleung.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cleung.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cleung.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cleung.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cleung.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cleung.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cleung.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cleung.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cleung.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cleung.wordpress.com/335/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cleung.wordpress.com&#038;blog=1697954&#038;post=335&#038;subd=cleung&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cleung.wordpress.com/2011/03/22/firefox-4-release/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/167e6c614f400ded5835740b52e21c9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Cathy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
