File: fractal.txt

package info (click to toggle)
povray 1%3A3.7.0.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 147,232 kB
  • sloc: cpp: 845,011; ansic: 122,118; sh: 34,204; pascal: 6,420; asm: 3,355; ada: 1,681; makefile: 1,389; cs: 879; awk: 590; perl: 245; xml: 95
file content (20 lines) | stat: -rw-r--r-- 830 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// pattern for use in texture/pigment/normal/density
// various types of fractals
  // (---mandelbrot---)
  mandel 50               // number of iterations
         //2,             // optional exponent (2..4) [2]
  // (---julia---)
  julia <0.5,0.8>,        // complex number (2d vector)
        50                // number of iterations
        //2,              // optional exponent (2..4) [2]
  // (---magnet mandel---)
  magnet 1                // type (1 or 2)
   mandel 50              // number of iterations
  // (---magnet julia---)
  magnet 1                // type (1 or 2)
   julia <0.5,0.8>,       // complex number (2d vector)
         50               // number of iterations

  //exterior 1, 1         // optional: special handling of exterior
  //interior 0, 1         // optional: special handling of interior