<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/algorithm</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 00:58:34 GMT</pubDate>
<item>
<title>(JavaScript) JavaScript Binary Search - jatkins</title>
<link>http://snipplr.com/view/64757/javascript-binary-search/</link>
<description><![CDATA[ <p>Released into the public domain.</p> ]]></description>
<pubDate>Fri, 27 Apr 2012 07:18:43 GMT</pubDate>
<guid>http://snipplr.com/view/64757/javascript-binary-search/</guid>
</item>
<item>
<title>(JavaScript) insertion sort - eryoav</title>
<link>http://snipplr.com/view/63700/insertion-sort/</link>
<description><![CDATA[ <p>insertion sort</p> ]]></description>
<pubDate>Sat, 03 Mar 2012 17:38:33 GMT</pubDate>
<guid>http://snipplr.com/view/63700/insertion-sort/</guid>
</item>
<item>
<title>(JavaScript) Binary Search - eryoav</title>
<link>http://snipplr.com/view/63573/binary-search/</link>
<description><![CDATA[ <p>simple binary search algorithm</p> ]]></description>
<pubDate>Sat, 25 Feb 2012 17:57:38 GMT</pubDate>
<guid>http://snipplr.com/view/63573/binary-search/</guid>
</item>
<item>
<title>(JavaScript) Bresenham\'s Line Algorithm - nefd</title>
<link>http://snipplr.com/view/58314/bresenhams-line-algorithm/</link>
<description><![CDATA[ <p>Code obtained from a [stackoverflow question](http://stackoverflow.com/questions/4672279/bresenham-algorithm-in-javascript). This is a javascript implementation of the [Bresenham line algorithm](http://en.wikipedia.org/wiki/Bresenham's_line_algorithm). Given two points, this function will return an array of coordinates which go from point A to point B, one step at a time.</p> ]]></description>
<pubDate>Wed, 31 Aug 2011 00:07:22 GMT</pubDate>
<guid>http://snipplr.com/view/58314/bresenhams-line-algorithm/</guid>
</item>
<item>
<title>(JavaScript) Distance Between Two Points - parkerkrhoyt</title>
<link>http://snipplr.com/view/47207/distance-between-two-points/</link>
<description><![CDATA[ <p>This function will calculate the distance between two provided points.  This is useful in game development when calculating paths of motion for sprites.  The function expects two points to be provided.  A point is defined as an object with an "x" and a "y" property.  The result is a numeric value of the distance.</p> ]]></description>
<pubDate>Sun, 16 Jan 2011 04:24:08 GMT</pubDate>
<guid>http://snipplr.com/view/47207/distance-between-two-points/</guid>
</item>
<item>
<title>(JavaScript) Sieve of Eratosthenes - pmigueld</title>
<link>http://snipplr.com/view/44221/sieve-of-eratosthenes/</link>
<description><![CDATA[ <p>Returns an array of all the prime numbers up to (n) using an implementation of the Sieve of Eratosthenes.</p> ]]></description>
<pubDate>Mon, 15 Nov 2010 23:21:19 GMT</pubDate>
<guid>http://snipplr.com/view/44221/sieve-of-eratosthenes/</guid>
</item>
</channel>
</rss>