<?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/tags/2d</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 18:55:53 GMT</pubDate>
<item>
<title>(PHP) PHP Convert Single Dimensional Array to Two Dimensional - kosinix</title>
<link>http://snipplr.com/view/67672/php-convert-single-dimensional-array-to-two-dimensional/</link>
<description><![CDATA[ <p>Function to convert a one dimensional array to two dimensional with option to specify how many columns. Returns two dimensional array on success or false on fail.</p> ]]></description>
<pubDate>Wed, 10 Oct 2012 11:47:20 GMT</pubDate>
<guid>http://snipplr.com/view/67672/php-convert-single-dimensional-array-to-two-dimensional/</guid>
</item>
<item>
<title>(ActionScript 3) Camera 2D - steppannws</title>
<link>http://snipplr.com/view/58386/camera-2d/</link>
<description><![CDATA[ <p>A simple Camera 2d simulation in Flash</p> ]]></description>
<pubDate>Fri, 02 Sep 2011 04:02:23 GMT</pubDate>
<guid>http://snipplr.com/view/58386/camera-2d/</guid>
</item>
<item>
<title>(PHP) Find the parent key of a value in a two-dimensional array - jatkins</title>
<link>http://snipplr.com/view/54937/find-the-parent-key-of-a-value-in-a-twodimensional-array/</link>
<description><![CDATA[ <p>Released to the public domain. Example: you have an array, `$seasons = array('Summer' => array('June', 'July', 'August'), 'Autumn' => array('September', 'October', 'November'), 'Winter' => array('December', 'January', 'February'), 'Spring' => array('March', 'April', 'May'));`. Running `print_r(find_keys_based_on_value('October', $seasons));` will is equivalent to `print_r(array('Autumn' => array('September', 'October', 'November');`. _**By default, the script will keep searching until it reaches the end of the array.**_ To stop at the first match, call with `$first_only` set to `true`. To return only the key name(s), call with `$key_names_only` set to `true`.</p> ]]></description>
<pubDate>Tue, 07 Jun 2011 02:06:05 GMT</pubDate>
<guid>http://snipplr.com/view/54937/find-the-parent-key-of-a-value-in-a-twodimensional-array/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 QR Code Generator - adrianparr</title>
<link>http://snipplr.com/view/45840/as3-qr-code-generator/</link>
<description><![CDATA[ <p>This makes use of http://www.minimalcomps.com, https://github.com/mikechambers/as3corelib and http://alivepdf.bytearray.org</p> ]]></description>
<pubDate>Fri, 17 Dec 2010 00:32:21 GMT</pubDate>
<guid>http://snipplr.com/view/45840/as3-qr-code-generator/</guid>
</item>
<item>
<title>(JavaScript) JavaScript 2D Game Library - jatkins</title>
<link>http://snipplr.com/view/35227/javascript-2d-game-library/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 26 May 2010 07:06:21 GMT</pubDate>
<guid>http://snipplr.com/view/35227/javascript-2d-game-library/</guid>
</item>
<item>
<title>(Bash) OSX: Restore "2D" dock (pre leopard). - jink</title>
<link>http://snipplr.com/view/29624/osx-restore-2d-dock-pre-leopard/</link>
<description><![CDATA[ <p>Restores the 2D (tiger) dock.</p> ]]></description>
<pubDate>Thu, 11 Mar 2010 18:31:17 GMT</pubDate>
<guid>http://snipplr.com/view/29624/osx-restore-2d-dock-pre-leopard/</guid>
</item>
<item>
<title>(Python) Get X, Y Heading Based On Degrees - gdvickery</title>
<link>http://snipplr.com/view/25043/get-x-y-heading-based-on-degrees/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 18 Dec 2009 19:14:59 GMT</pubDate>
<guid>http://snipplr.com/view/25043/get-x-y-heading-based-on-degrees/</guid>
</item>
<item>
<title>(Python) Calculating Degrees Between Two Points (Vectors) - gdvickery</title>
<link>http://snipplr.com/view/25042/calculating-degrees-between-two-points-vectors/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 18 Dec 2009 19:10:30 GMT</pubDate>
<guid>http://snipplr.com/view/25042/calculating-degrees-between-two-points-vectors/</guid>
</item>
<item>
<title>(Pseudocode) 2D array to 1D array conversion - helloworlder</title>
<link>http://snipplr.com/view/17837/2d-array-to-1d-array-conversion/</link>
<description><![CDATA[ <p>Convert a coordinate (x,y) into the index for a 1D array. For example, the coordinate (3,1) would be at array index 8 if there are 5 columns.

Assumption: Arrays start at 0.</p> ]]></description>
<pubDate>Mon, 03 Aug 2009 10:15:45 GMT</pubDate>
<guid>http://snipplr.com/view/17837/2d-array-to-1d-array-conversion/</guid>
</item>
<item>
<title>(ActionScript 3) Away3D Local 3d to Global 2d point - alexaivars</title>
<link>http://snipplr.com/view/15600/away3d-local-3d-to-global-2d-point/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 06 Jun 2009 06:57:36 GMT</pubDate>
<guid>http://snipplr.com/view/15600/away3d-local-3d-to-global-2d-point/</guid>
</item>
</channel>
</rss>