fractals 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. data/README +66 -0
  2. data/Rakefile +65 -0
  3. data/doc/classes/Fractals.html +169 -0
  4. data/doc/classes/Fractals/Algorithms.html +125 -0
  5. data/doc/classes/Fractals/BurningShip.html +172 -0
  6. data/doc/classes/Fractals/Fractal.html +261 -0
  7. data/doc/classes/Fractals/Julia.html +171 -0
  8. data/doc/classes/Fractals/Mandelbrot.html +172 -0
  9. data/doc/classes/Fractals/Newton.html +173 -0
  10. data/doc/classes/Fractals/Renderers.html +118 -0
  11. data/doc/classes/Fractals/Renderers/Base.html +496 -0
  12. data/doc/classes/Fractals/Renderers/JRubyRenderer.html +178 -0
  13. data/doc/classes/Fractals/Renderers/PNGRenderer.html +202 -0
  14. data/doc/classes/Fractals/Renderers/RMagickRenderer.html +210 -0
  15. data/doc/classes/Fractals/Themes.html +131 -0
  16. data/doc/created.rid +1 -0
  17. data/doc/files/README.html +180 -0
  18. data/doc/files/examples_rb.html +122 -0
  19. data/doc/files/gpl-2_0_txt.html +522 -0
  20. data/doc/files/lib/fractals/algorithms_rb.html +90 -0
  21. data/doc/files/lib/fractals/renderers_rb.html +104 -0
  22. data/doc/files/lib/fractals/themes_rb.html +90 -0
  23. data/doc/files/lib/fractals_rb.html +114 -0
  24. data/doc/fr_class_index.html +49 -0
  25. data/doc/fr_file_index.html +37 -0
  26. data/doc/fr_method_index.html +57 -0
  27. data/doc/index.html +21 -0
  28. data/doc/rdoc-style.css +299 -0
  29. data/examples.rb +101 -0
  30. data/gpl-2.0.txt +339 -0
  31. data/lib/fractals.rb +105 -0
  32. data/lib/fractals/algorithms.rb +35 -0
  33. data/lib/fractals/renderers.rb +169 -0
  34. data/lib/fractals/themes.rb +48 -0
  35. data/test/burning_ship_test.rb +19 -0
  36. data/test/julia_test.rb +20 -0
  37. data/test/mandelbrot_test.rb +19 -0
  38. data/test/newton_test.rb +20 -0
  39. data/test/renderer_test.rb +21 -0
  40. metadata +104 -0
@@ -0,0 +1,90 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: algorithms.rb [Ruby Fractal Library - 1.2.0]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>algorithms.rb</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>lib/fractals/algorithms.rb
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-08-26 20:51:04 -0400</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ </div>
67
+
68
+
69
+ </div>
70
+
71
+ <!-- if includes -->
72
+
73
+ <div id="section">
74
+
75
+
76
+
77
+
78
+ <!-- if method_list -->
79
+
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="validator-badges">
86
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
87
+ </div>
88
+
89
+ </body>
90
+ </html>
@@ -0,0 +1,104 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: renderers.rb [Ruby Fractal Library - 1.2.0]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>renderers.rb</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>lib/fractals/renderers.rb
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-08-26 20:51:04 -0400</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ <div id="requires-list">
67
+ <h3 class="section-bar">Required files</h3>
68
+
69
+ <div class="name-list">
70
+
71
+ rubygems&nbsp;&nbsp;
72
+
73
+ png&nbsp;&nbsp;
74
+
75
+ RMagick&nbsp;&nbsp;
76
+
77
+ </div>
78
+ </div>
79
+
80
+ </div>
81
+
82
+
83
+ </div>
84
+
85
+ <!-- if includes -->
86
+
87
+ <div id="section">
88
+
89
+
90
+
91
+
92
+ <!-- if method_list -->
93
+
94
+
95
+
96
+
97
+ </div>
98
+
99
+ <div id="validator-badges">
100
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
101
+ </div>
102
+
103
+ </body>
104
+ </html>
@@ -0,0 +1,90 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: themes.rb [Ruby Fractal Library - 1.2.0]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>themes.rb</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>lib/fractals/themes.rb
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-08-26 20:51:04 -0400</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ </div>
67
+
68
+
69
+ </div>
70
+
71
+ <!-- if includes -->
72
+
73
+ <div id="section">
74
+
75
+
76
+
77
+
78
+ <!-- if method_list -->
79
+
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="validator-badges">
86
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
87
+ </div>
88
+
89
+ </body>
90
+ </html>
@@ -0,0 +1,114 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: fractals.rb [Ruby Fractal Library - 1.2.0]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>fractals.rb</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>lib/fractals.rb
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-08-26 20:51:04 -0400</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ <div id="description">
67
+ <p>
68
+ A library for creating fractals in the Ruby programming language. Copyright
69
+ &#169; 2009 Ryan Baxter
70
+ </p>
71
+
72
+ </div>
73
+
74
+ <div id="requires-list">
75
+ <h3 class="section-bar">Required files</h3>
76
+
77
+ <div class="name-list">
78
+
79
+ complex&nbsp;&nbsp;
80
+
81
+ fractals/algorithms&nbsp;&nbsp;
82
+
83
+ fractals/renderers&nbsp;&nbsp;
84
+
85
+ fractals/themes&nbsp;&nbsp;
86
+
87
+ </div>
88
+ </div>
89
+
90
+ </div>
91
+
92
+
93
+ </div>
94
+
95
+ <!-- if includes -->
96
+
97
+ <div id="section">
98
+
99
+
100
+
101
+
102
+ <!-- if method_list -->
103
+
104
+
105
+
106
+
107
+ </div>
108
+
109
+ <div id="validator-badges">
110
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
111
+ </div>
112
+
113
+ </body>
114
+ </html>
@@ -0,0 +1,49 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <!--
5
+
6
+ Classes [Ruby Fractal Library - 1.2.0]
7
+
8
+ -->
9
+ <head>
10
+ <title>Classes [Ruby Fractal Library - 1.2.0]</title>
11
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
12
+ <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
13
+ <base target="docwin" />
14
+ </head>
15
+ <body>
16
+ <div class="index">
17
+ <h1 class="section-bar">Classes</h1>
18
+ <div id="index-entries">
19
+
20
+ <a href="classes/Fractals.html">Fractals</a><br />
21
+
22
+ <a href="classes/Fractals/Algorithms.html">Fractals::Algorithms</a><br />
23
+
24
+ <a href="classes/Fractals/BurningShip.html">Fractals::BurningShip</a><br />
25
+
26
+ <a href="classes/Fractals/Fractal.html">Fractals::Fractal</a><br />
27
+
28
+ <a href="classes/Fractals/Julia.html">Fractals::Julia</a><br />
29
+
30
+ <a href="classes/Fractals/Mandelbrot.html">Fractals::Mandelbrot</a><br />
31
+
32
+ <a href="classes/Fractals/Newton.html">Fractals::Newton</a><br />
33
+
34
+ <a href="classes/Fractals/Renderers.html">Fractals::Renderers</a><br />
35
+
36
+ <a href="classes/Fractals/Renderers/Base.html">Fractals::Renderers::Base</a><br />
37
+
38
+ <a href="classes/Fractals/Renderers/JRubyRenderer.html">Fractals::Renderers::JRubyRenderer</a><br />
39
+
40
+ <a href="classes/Fractals/Renderers/PNGRenderer.html">Fractals::Renderers::PNGRenderer</a><br />
41
+
42
+ <a href="classes/Fractals/Renderers/RMagickRenderer.html">Fractals::Renderers::RMagickRenderer</a><br />
43
+
44
+ <a href="classes/Fractals/Themes.html">Fractals::Themes</a><br />
45
+
46
+ </div>
47
+ </div>
48
+ </body>
49
+ </html>