<?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>Steve&#039;s Blog &#187; canvas</title>
	<atom:link href="http://crindigo.com/blog/tag/canvas/feed/" rel="self" type="application/rss+xml" />
	<link>http://crindigo.com/blog</link>
	<description>Escapades of a web programmer</description>
	<lastBuildDate>Thu, 24 Jun 2010 00:33:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Canvas Cake</title>
		<link>http://crindigo.com/blog/2010/06/canvas-cake/</link>
		<comments>http://crindigo.com/blog/2010/06/canvas-cake/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 00:33:33 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[canvas]]></category>

		<guid isPermaLink="false">http://crindigo.com/blog/?p=88</guid>
		<description><![CDATA[For fun, and Jeremy&#8217;s birthday, I redid my PHP/GD cake in HTML5 Canvas. This version also sports animated candlelight. Cake!]]></description>
			<content:encoded><![CDATA[<p>For fun, and <a href="http://jeremyprivett.com/">Jeremy&#8217;s</a> birthday, I redid my <a href="http://crindigo.com/blog/2009/12/obfuscated-cake/">PHP/GD cake</a> in HTML5 Canvas. This version also sports animated candlelight.</p>
<p><a href="http://crindigo.com/stuff/canvascake.html">Cake!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://crindigo.com/blog/2010/06/canvas-cake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Line Generator</title>
		<link>http://crindigo.com/blog/2009/12/random-line-generator/</link>
		<comments>http://crindigo.com/blog/2009/12/random-line-generator/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 04:20:56 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[imaging]]></category>

		<guid isPermaLink="false">http://crindigo.com/blog/?p=17</guid>
		<description><![CDATA[Another repost, though a bit more fresh &#8211; it was originally posted in September 2007. JS Random Line Generator The random line generator uses the HTML5 canvas element to draw a series of connected lines, with a large variety of &#8230; <a href="http://crindigo.com/blog/2009/12/random-line-generator/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Another repost, though a bit more fresh &#8211; it was originally posted in September 2007.</p>
<p><a href="http://crindigo.com/randomline.html">JS Random Line Generator</a></p>
<p>The random line generator uses the HTML5 canvas element to draw a series of connected lines, with a large variety of options. You can choose where to start drawing, the initial angle, the line lengths, how far the lines can turn left or right, the number of lines, the line colors, the line width, and the background color. In addition, if you are using a modern browser that supports canvas&#8217;s toDataURL() method, you can save the image to your computer (otherwise you&#8217;ll likely have to Print Screen it).</p>
<p>One nifty thing you can do with the line colors is cycle through a gradient. By using a <a href="http://www.vex.net/~x/xfade/advanced.html">color fade generator</a> and selecting &#8220;show HTML codes&#8221; then the color sequence, you can copy and paste the list into the line colors box. Additionally, it accepts code in HTML (font/color, and span/style), so if somebody has a nice gradient on a website, chances are you can copy/paste the source and use it.</p>
<p>Here&#8217;s an example image that I created:<br />
<div id="attachment_25" class="wp-caption alignnone" style="width: 510px"><a href="http://crindigo.com/blog/wp-content/uploads/2009/12/randomline2.png"><img src="http://crindigo.com/blog/wp-content/uploads/2009/12/randomline2.png" alt="Random Line Example" title="Random Line Example" width="500" height="500" class="size-full wp-image-25" /></a><p class="wp-caption-text">Random line with black-white gradient</p></div></p>
<p>For people with older browsers, there is a <a href="http://crindigo.com/RandomLine.php">PHP version</a> with slightly reduced functionality. It has a max color limit of 30, and no line width setting. It does allow you to turn anti-aliasing on and off, though. The source for the PHP version can be found <a href="http://crindigo.com/code/php/RandomLine.phps">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://crindigo.com/blog/2009/12/random-line-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
