<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>crunchlife: Ruby Fractal Library 1.2.0</title>
    <link>http://crunchlife.com/articles/2009/08/26/ruby-fractal-library-1-2-0</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Ruby Fractal Library 1.2.0</title>
      <description>&lt;p&gt;&lt;img src="/files/burning_ship.png" class="photo right"&gt;I&amp;#8217;ve finally released version 1.2.0 of the &lt;a href="http://ryanbaxter.net/pages/ruby_fractal_library" target="_blank"&gt;Ruby Fractal Library&lt;/a&gt;.  It&amp;#8217;s still just as small and easy to use, but with a few new twists.  I&amp;#8217;ve removed most of the duplicate code, added Procs where appropriate, and made the syntax more consistent.  The result is much more readable and should be easier to maintain.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The source code has been split into multiple files.  One for each module.&lt;/li&gt;
&lt;li&gt;Each of the fractals has been distilled to a single block passed to the Fractal base class&amp;#8217; constructor.  This makes it easy to construct new orbits fractals by either inheriting from Fractal or instantiating it directly.&lt;/li&gt;
&lt;li&gt;Classes have been added for the Burning Ship and Newton fractals.&lt;/li&gt;
&lt;li&gt;A &amp;#8216;Winter&amp;#8217; theme has been added.&lt;/li&gt;
&lt;li&gt;Users can now choose which dependancy nightmare they&amp;#8217;d prefer.  PNG, RMagick and JRuby each have their own renderer.  PNGRenderer is the default, but is easy to override with the renderer= method.&lt;/li&gt;
&lt;li&gt;bailout and max_iterations are no longer constructor parameters.  This is the biggest breaking change.&lt;/li&gt;
&lt;li&gt;Unit tests have been added for each fractal.&lt;/li&gt;
&lt;li&gt;Several rake tasks have been added to make installation and gem creation easier.&lt;/li&gt;
&lt;li&gt;RDoc &lt;a href="http://ryanbaxter.net/fractals-1.2.1/doc/index.html" target="_blank"&gt;documentation&lt;/a&gt; is now available.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A &lt;a href="http://rubyforge.org/projects/fractals/" target="_blank"&gt;project&lt;/a&gt; for this library has been created at RubyForge, but the source code can still be found at &lt;a href="http://ryanbaxter.net/pages/ruby_fractal_library" target="_blank"&gt;the same old place&lt;/a&gt;.  I&amp;#8217;m considering a move to github, but I&amp;#8217;ll make an announcement if that happens.  If you decide to download the Ruby Fractal Library, be sure to check out examples.rb in the project&amp;#8217;s source.  You should also take a look at the README file and &lt;a href="http://ryanbaxter.net/fractals-1.2.1/doc/index.html" target="_blank"&gt;documentation&lt;/a&gt; before getting started.  Make some fractals and enjoy!  Bugs can be filed at the &lt;a href="http://rubyforge.org/tracker/?group_id=8893" target="_blank"&gt;RubyForge tracker&lt;/a&gt;. &lt;/p&gt;</description>
      <pubDate>Wed, 26 Aug 2009 19:36:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:07858846-0184-44c0-9760-a64e04d44862</guid>
      <author>Ryan Baxter</author>
      <link>http://crunchlife.com/articles/2009/08/26/ruby-fractal-library-1-2-0</link>
      <category>Fractals</category>
      <category>Ruby</category>
    </item>
    <item>
      <title>"Ruby Fractal Library 1.2.0" by marc stenis</title>
      <description>that's nice article!</description>
      <pubDate>Sun, 22 Jan 2012 00:47:57 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:9baa43a3-5a08-4712-977f-33221d1dcc95</guid>
      <link>http://crunchlife.com/articles/2009/08/26/ruby-fractal-library-1-2-0#comment-264350</link>
    </item>
    <item>
      <title>"Ruby Fractal Library 1.2.0" by Ryan Baxter</title>
      <description>&lt;a href="http://crunchlife.com/pages/ruby_fractal_library" rel="nofollow"&gt;1.2.1&lt;/a&gt; has been released.</description>
      <pubDate>Fri, 28 Aug 2009 20:20:17 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:3058dc33-3074-4dda-b45b-66285db78bc4</guid>
      <link>http://crunchlife.com/articles/2009/08/26/ruby-fractal-library-1-2-0#comment-28825</link>
    </item>
    <item>
      <title>"Ruby Fractal Library 1.2.0" by Ryan Baxter</title>
      <description>Not even 24 hours and already a bug!  Well, sorta.  I should have mentioned that installing fractals will not automatically install it's dependencies.  Since the default PNGRenderer requires the PNG library, a call to the write method will fail without first installing the PNG gem.&lt;br /&gt;&lt;br /&gt;

I did this by design since the library was meant to have pluggable renderers.  I have, however, changed this in trunk.  In release 1.2.1, the PNG gem will be installed as a dependency.  I've also fixed a few more typos.&lt;br /&gt;&lt;br /&gt;

svn checkout &lt;a href="http://svn.ryanbaxter.net/fractals/trunk" rel="nofollow"&gt;http://svn.ryanbaxter.net/fractals/trunk&lt;/a&gt; fractals&lt;br /&gt;&lt;br /&gt;

or wait a day or two till 1.2.1.  </description>
      <pubDate>Thu, 27 Aug 2009 07:40:40 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:76e6f745-5615-44fa-8d30-bc18bbfebe5d</guid>
      <link>http://crunchlife.com/articles/2009/08/26/ruby-fractal-library-1-2-0#comment-28744</link>
    </item>
  </channel>
</rss>

