File:Box fractal.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 324 × 324 pixels, file size: 1 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description

    Fifth iteration of the cross (non-saltire) version of the "box fractal" or "Vicsek fractal", derived by iteratively replacing a square with a saltire or cross of five smaller squares on a 3-by-3 subgrid.

    For the first four iterations of both forms of the fractal, see Box or Vicsek Fractal 4-iterations.svg.
    Date
    Source

    This graphic was converted from the following vector PostScript source code:

    %!
    .5 dup scale/sq{3 mul exch 3 mul exch moveto 3 0 rlineto 0 3 rlineto
    -3 0 rlineto closepath fill}def/X{0 1 sq 1 1 sq 2 1 sq 1 0 sq 1 2
    sq}def/X1{9 mul exch 9 mul exch gsave translate X grestore}def/x{0 1
    X1 1 1 X1 2 1 X1 1 0 X1 1 2 X1}def/X2{27 mul exch 27 mul exch gsave
    translate x grestore}def/xx{0 1 X2 1 1 X2 2 1 X2 1 0 X2 1 2 X2}def
    /X3{81 mul exch 81 mul exch gsave translate xx grestore}def/xxx{0 1
    X3 1 1 X3 2 1 X3 1 0 X3 1 2 X3}def/X4{243 mul exch 243 mul exch gsave
    translate xxx grestore}def/sqq{/s exch def 1 .7 .8 setrgbcolor 0 0
    moveto s 0 rlineto 0 s rlineto s neg 0 rlineto closepath fill 0
    setgray}def 240 360 translate 729 sqq 0 1 X4 1 1 X4 2 1 X4 1 0 X4 1 2
    X4 0 showpage
    %EOF
    Author AnonMoos
    Permission
    (Reusing this file)
    Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
    In some countries this may not be legally possible; if so:
    I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
    Other versions
    1st through 4th iterations
    SVG development
    InfoField
     The SVG code is valid.
     This military insignia was created with a text editor.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    image/svg+xml

    e09975a5db3baf5f90bc7f0d63c9a36e5f67c533

    1,184 byte

    324 pixel

    324 pixel

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current13:48, 28 August 2023Thumbnail for version as of 13:48, 28 August 2023324 × 324 (1 KB)wikimediacommons>Mrmwsimpler code

    There are no pages that use this file.