Popular recipes tagged "fractal" but not "mathematics"http://code.activestate.com/recipes/tags/fractal-mathematics/2017-06-06T03:48:09-07:00ActiveState Code RecipesInteractive Mandelbrot Fractal Using HTML5 Canvas (JavaScript) 2017-06-06T03:48:09-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/580804-interactive-mandelbrot-fractal-using-html5-canvas/ <p style="color: grey"> JavaScript recipe 580804 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/canvas/">canvas</a>, <a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>Interactive Mandelbrot Fractal Using HTML5 Canvas.</p> <p>(Download and save as html file and open it.)</p> <p>(Tested only using Firefox browser.)</p> Create Sierpinski Carpet (Fractal) FAST (Python) 2016-03-16T08:56:08-07:00Jorj X. McKiehttp://code.activestate.com/recipes/users/4193772/http://code.activestate.com/recipes/580624-create-sierpinski-carpet-fractal-fast/ <p style="color: grey"> Python recipe 580624 by <a href="/recipes/users/4193772/">Jorj X. McKie</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/sierpinski/">sierpinski</a>). </p> <p>Create a Sierpinski carpet using MuPDF's graphics library fitz (binding PyMuPDF) at high speed.</p> Sierpinski Gasket (Python) 2016-02-20T10:41:24-08:00Paulo Cavalcantihttp://code.activestate.com/recipes/users/4189949/http://code.activestate.com/recipes/580614-sierpinski-gasket/ <p style="color: grey"> Python recipe 580614 by <a href="/recipes/users/4189949/">Paulo Cavalcanti</a> (<a href="/recipes/tags/fractal/">fractal</a>). </p> <p>Creates a Sierpinski Gasket, by recursively partitioning an initial triangle (a,b,c) into three or four new triangles.</p> Python Mandelbrot Fractal with Tkinter (Python) 2015-05-06T09:57:27-07:00Antoni Gualhttp://code.activestate.com/recipes/users/4182514/http://code.activestate.com/recipes/579048-python-mandelbrot-fractal-with-tkinter/ <p style="color: grey"> Python recipe 579048 by <a href="/recipes/users/4182514/">Antoni Gual</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 9. </p> <p>Displays in a Tk window a pretty coloured 640x480 Mandelbrot set in 6 seconds. Calculates each one of the 300K pixels with a maximum of 256 iterations. <br> Only Tkinter used. Tested with Python 3.4 <br> I will test any contribution and add it to the code if worthy.</p> Fractal painter (Python) 2012-02-23T21:57:16-08:00James Coliinshttp://code.activestate.com/recipes/users/4167379/http://code.activestate.com/recipes/578051-fractal-painter/ <p style="color: grey"> Python recipe 578051 by <a href="/recipes/users/4167379/">James Coliins</a> (<a href="/recipes/tags/al/">al</a>, <a href="/recipes/tags/art/">art</a>, <a href="/recipes/tags/fractal/">fractal</a>). </p> <p>Paints a picture in the abstract style. </p> Fractal painter (Python) 2012-02-17T04:07:45-08:00James Coliinshttp://code.activestate.com/recipes/users/4167379/http://code.activestate.com/recipes/578044-fractal-painter/ <p style="color: grey"> Python recipe 578044 by <a href="/recipes/users/4167379/">James Coliins</a> (<a href="/recipes/tags/art/">art</a>, <a href="/recipes/tags/fractal/">fractal</a>). </p> <p>Creates a semi random image, similar to a Jackson Pollock or Monet painting.</p> Bifurcation diagram of logistic map (Python) 2010-07-24T02:40:54-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577332-bifurcation-diagram-of-logistic-map/ <p style="color: grey"> Python recipe 577332 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). Revision 2. </p> <p>Bifurcation diagram of the logistic map.</p> Mandelbrot fractal using PIL (Python) 2010-03-26T04:39:46-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577111-mandelbrot-fractal-using-pil/ <p style="color: grey"> Python recipe 577111 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). Revision 2. </p> <p>Mandelbrot fractal using Python Image Library (PIL).</p> Sierpinski Square combination fractal (Python) 2010-08-11T20:06:42-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577354-sierpinski-square-combination-fractal/ <p style="color: grey"> Python recipe 577354 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>Combination of Sierpinski Square and 2 other square fractals!</p> Sierpinski Triangle Fractal using HTML5 Canvas (JavaScript) 2010-07-07T15:07:30-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577294-sierpinski-triangle-fractal-using-html5-canvas/ <p style="color: grey"> JavaScript recipe 577294 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>Sierpinski Triangle Fractal using Line Automaton (1D CA). The 1D CA rule used is actually Pascal's Triangle Mod 2. Tested only using Firefox 3.5.</p> Newton Fractals (Python) 2010-03-30T04:50:09-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577166-newton-fractals/ <p style="color: grey"> Python recipe 577166 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>It draws the Newton fractal of any given complex-variable function.</p> Snowflake Fractal Applet using Cellular Automaton (Java) 2010-07-17T00:42:13-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577311-snowflake-fractal-applet-using-cellular-automaton/ <p style="color: grey"> Java recipe 577311 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/applet/">applet</a>, <a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>Snowflake fractal applet using Cellular Automaton (2d CA). </p> Mandelbrot Fractal using HTML5 Canvas (JavaScript) 2012-12-28T01:01:09-08:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577277-mandelbrot-fractal-using-html5-canvas/ <p style="color: grey"> JavaScript recipe 577277 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). Revision 3. </p> <p>Mandelbrot Fractal using HTML5 Canvas. (Do not forget to change file extension to HTML after downloading it.)</p> C Fractal using recursion (Python) 2010-07-19T00:05:08-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577316-c-fractal-using-recursion/ <p style="color: grey"> Python recipe 577316 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>C Fractal using recursion.</p> Koch Snowflake and Sierpinski Triangle Combination Fractal (Python) 2010-03-27T03:24:35-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577156-koch-snowflake-and-sierpinski-triangle-combination/ <p style="color: grey"> Python recipe 577156 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>Koch Snowflake and Sierpinski Triangle Combination Fractal using recursion.</p> Fern IFS Fractal (Python) 2010-03-21T16:00:51-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577134-fern-ifs-fractal/ <p style="color: grey"> Python recipe 577134 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>Fern Fractal drawn using its Fractint IFS definition.</p> Percolation Cluster Fractals using PIL Floodfill (Python) 2010-03-25T14:02:25-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577141-percolation-cluster-fractals-using-pil-floodfill/ <p style="color: grey"> Python recipe 577141 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>You can change the average size of the clusters by changing the maxIt value. (The calculation would take longer if you increase it though.)</p> DLA Fractals (Python) 2010-04-04T06:09:56-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577178-dla-fractals/ <p style="color: grey"> Python recipe 577178 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>It draws a random Diffusion Limited Aggregation fractal each time. (Wait until the percentage reaches 100.)</p> Multi-threaded Mandelbrot Fractal Applet (Java) 2010-03-27T16:09:42-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577158-multi-threaded-mandelbrot-fractal-applet/ <p style="color: grey"> Java recipe 577158 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/applet/">applet</a>, <a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/math/">math</a>). </p> <p>Number of threads can be chosen freely.</p> IFS fractals (Python) 2010-03-27T00:34:15-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577136-ifs-fractals/ <p style="color: grey"> Python recipe 577136 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/math/">math</a>). Revision 3. </p> <p>It generates a fractal from any given IFS definition (Fractint style).</p>