<?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>ClassicalCode &#187; script</title>
	<atom:link href="http://blog.classicalcode.com/tag/script/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.classicalcode.com</link>
	<description>Music, Software, Finds</description>
	<lastBuildDate>Tue, 08 Nov 2011 19:34:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Drawing mandalas with PHP for my Papa</title>
		<link>http://blog.classicalcode.com/2008/06/drawing-mandalas-with-php-for-my-papa/</link>
		<comments>http://blog.classicalcode.com/2008/06/drawing-mandalas-with-php-for-my-papa/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 22:02:32 +0000</pubDate>
		<dc:creator>Jordan Eldredge</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[mandala]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://blog.classicalcode.com/?p=103</guid>
		<description><![CDATA[The earliest memories I have of computers is a contraption my dad rigged up that would draw mandalas on a screen. Later in my life he wrote software that would plot large mandalas on his huge plotters. In my last project, I learned about image generation using PHP and realized that it might be possible [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.classicalcode.com/wp-content/uploads/2008/06/trig.png"><img class="alignright size-full wp-image-104" style="margin-left: 5px; margin-right: 5px; float: right;" title="Mandala" src="http://blog.classicalcode.com/wp-content/uploads/2008/06/trig.png" alt="A sample mandala I have generated" width="250" height="250" /></a></p>
<p>The earliest memories I have of computers is a contraption my dad rigged up that would draw mandalas on a screen. Later in my life he wrote software that would plot large mandalas on his huge plotters.</p>
<p>In my <a href="http://blog.classicalcode.com/?p=100">last project</a>, I learned about image generation using PHP and realized that it might be possible to use PHP functions to draw mandalas. After a couple hours of relearning trig, I was able to create a script that outputs a .png image of a mandala based on the size and number of points that you give it.</p>
<p>Give it a try:</p>
<form style="text-align: left;" action="http://www.classicalcode.com/mandala.php" method="get"><label for="size">Size in pixels (1-1024):</label><br />
<input id="size" style="display: inline;" name="size" />
<p><label for="points">Number of points (1-100):</label><br />
<input id="points" style="display: inline;" name="points" />
<input type="submit" value="Generate Mandala" />
</form>
<p>Source code: <a href="http://www.classicalcode.com/mandala.txt">here</a>.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://blog.classicalcode.com/2007/12/only-the-first-and-last-letters-of-a-word-need-be-in-the-right-place/" title="Only the first and last letters of a word need be in the right place">Only the first and last letters of a word need be in the right place</a></li><li><a href="http://blog.classicalcode.com/2009/11/twitter-bot-ukechord/" title="Twitter Bot: UkeChord">Twitter Bot: UkeChord</a></li><li><a href="http://blog.classicalcode.com/2009/05/refresh-cannon-returns/" title="Refresh Cannon Returns">Refresh Cannon Returns</a></li><li><a href="http://blog.classicalcode.com/2009/05/refresh-cannon/" title="Refresh Cannon">Refresh Cannon</a></li><li><a href="http://blog.classicalcode.com/2009/04/refresh-hero-avatar-game/" title="Refresh Hero Avatar Game">Refresh Hero Avatar Game</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.classicalcode.com/2008/06/drawing-mandalas-with-php-for-my-papa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Only the first and last letters of a word need be in the right place</title>
		<link>http://blog.classicalcode.com/2007/12/only-the-first-and-last-letters-of-a-word-need-be-in-the-right-place/</link>
		<comments>http://blog.classicalcode.com/2007/12/only-the-first-and-last-letters-of-a-word-need-be-in-the-right-place/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 03:51:17 +0000</pubDate>
		<dc:creator>Jordan Eldredge</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://blog.classicalcode.com/?p=24</guid>
		<description><![CDATA[After my dad showed me an article in the Funny Times about the how the only letters that really matter when we read are the first and last, I thought it would be fun to write a little script to scramble the inner letters of words. Give it a try here. Or check out the [...]]]></description>
			<content:encoded><![CDATA[<p>After my dad showed me an article in the <a href="http://www.funnytimes.com/">Funny Times</a> about the how the only letters that really matter when we read are the first and last, I thought it would be fun to write a little script to scramble the inner letters of words.</p>
<p>Give it a try <a href="http://www.classicalcode.com/garble_text.php">here</a>.</p>
<p>Or check out the source <a href="http://www.classicalcode.com/garble_text.txt">here</a>.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://blog.classicalcode.com/2008/06/drawing-mandalas-with-php-for-my-papa/" title="Drawing mandalas with PHP for my Papa">Drawing mandalas with PHP for my Papa</a></li><li><a href="http://blog.classicalcode.com/2009/11/twitter-bot-ukechord/" title="Twitter Bot: UkeChord">Twitter Bot: UkeChord</a></li><li><a href="http://blog.classicalcode.com/2009/05/refresh-cannon-returns/" title="Refresh Cannon Returns">Refresh Cannon Returns</a></li><li><a href="http://blog.classicalcode.com/2009/05/refresh-cannon/" title="Refresh Cannon">Refresh Cannon</a></li><li><a href="http://blog.classicalcode.com/2009/04/refresh-hero-avatar-game/" title="Refresh Hero Avatar Game">Refresh Hero Avatar Game</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.classicalcode.com/2007/12/only-the-first-and-last-letters-of-a-word-need-be-in-the-right-place/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

