Hangar.La tienda de software del Amiga

LFracs

Fractal-generator for Line-Fractals v1.0

Short:        Fractal-generator for Line-Fractals v1.0
Author:       welisch@kirk.fmi.uni-passau.de
Uploader:     welisch kirk fmi uni-passau de
Type:         gfx/fract
Architecture: m68k-amigaos

                            LFracs Version 1.0
                    Copyright © 1996 Alexander Welisch.
                       All rights reserved, FREEWARE.

DESCRIPTION:

LFracs is a program for drawing L-Fractals (Line-Fractals).

L-Fractals are fractals, that can be generated  in the form of a string by
recursive  expansion  of  a  short  origin  code  (in the  following named
"Axiom"). After that this string can be translated into (drawed as) a pic-
ture.

For example: a = a[0] = "f-f++f-f" (string)  <=>  __/\__ (picture)

"f" means "draw a short line in the current direction"
"+" means "turn right for w=60 degrees"
"-" means "turn left for w=60 degrees"

If you replace each "f" in a with a itself, you'll have a new string:

a[1] = "f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f"

as a picture this would be:

      __/\__
      \    /
__/\__/    \__/\__

Again you can replace each "f" in a[1] with "f-f++f-f", and you'll get

a[2] = "f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f  -
        f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f  ++
        f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f  -
        f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f"
      
so
                        __/\__
                        \    /
                  __/\__/    \__/\__
                  \                /
                  /_              _\
                    \            /
      __/\__      __/            \__      __/\__
      \    /      \                /      \    /
__/\__/    \__/\__/                \__/\__/    \__/\__

In case you begin with another Axiom a, you'll get another picture
too.

Besides "f", "+" and "-" there are the special characters

"(" = "Save your present position"
")" = "Go back to the last saved position (without drawing the
       path to it), then continue executing the command-string"

With the help of these special characters it's possible to ge-
nerate tree-like fractals too, e.g.:

a = a[0] = "f(ffx)(-ffx)+ffx"       (Axiom)
f : "f"                             (means "replace 'f' by 'f'")
x : "f(ffx)(-ffx)+ffx"  (replace each 'x' by 'f(ffx)(-ffx)+ffx')

a[0] as a picture (with start-angle 90°, turn-angle 30°):

                   \ | /
                    \|/
                     |
then is

a[1] = "f(ff f(ffx)(-ffx)+ffx )(-ff f(ffx)(-ffx)+ffx )+ff
        f(ffx)(-ffx)+ffx"

and the picture:
                   \ |\ | /| /
                 ___\| \|/ |/___
                     \  |  /
                      \ | /
                       \|/
                        |


INSTALLATION:

LFracs consists of the following files and directories
(packed in the Lha-archive LFracs.lha):

LFracs (Dir) ____ LFracs (Program)
              |
              |__ Docs (Dir) ____ LF.deutsch.guide (German Documentation)
              |               |__ LF.english.guide (English Documentation)
              |
              |__ Catalogs (Dir) ____ deutsch (Dir) ____ LFracs.catalog
              |
              |__ FracsCodes (Dir) ____ Dragon.code  (Data)
              |                     |__ #?.code
              |                     ...
              |
              |__ FracsPictures (Dir) ____ Dragon12.lfpic (Picture-data)
                                       |__ #?.lfpic
                                       ...
LFracs.readme
LFracs-Source.lha

To install LFracs, simply unpack LFracs.lha in your prefered directory.
Then the directory LFracs and the other Files/Directories will be auto-
matically installed as you see above.
Of importance are the directories "FracsCodes" and "FracsPictures"; the
files "#?.code" and "#?.lfpic" are only example-files, they are not ne-
cessary for the correct functionality of LFracs.
The source-code is packed  in LFracs-Source.lha  (if you don't need it,
you can delete this file).
If you  don't speak  german, you can delete  the Catalogs-Directory and
the LF.deutsch.guide.


COPYRIGHT:

LFracs is FREEWARE!
Permission is granted to make and distribute verbatim copies of LFracs, its 
documentation and sources. The source is  included in this package  and may
be changed in any form for personal use. Such a changed version must NOT be
distributed.

Because LFracs is for free, there`s NO GUARANTEE for perfect functionality.
The  author  cannot be hold  responsible  for any  loss or damage, that  is
caused by the use of LFracs. You use LFracs at your own risk.

LFracs must not be selled; Only a copy-fee of not more than 4 $(US) is per-
mitted.  Besides LFracs mustn't be  distributed with  other commercial pro-
ducts without permission of the author. LFracs  may only be distributed  if
the whole documentation  is included and the package is unchanged  with the
the source-code attached.


AUTHOR:

Please send comments, suggestions, error-reports, hymns of praise and money
to:
             Alexander Welisch
             Kolpingweg 15
             94086 Griesbach
             GERMANY

OR EMAIL: welisch@kirk.fmi.uni-passau.de

Gratis

Descargar 49 KB

Desde el Amiga: abre Hangar y busca LFracs.

Autorwelisch@kirk.fmi.uni-passau.de
Categoríagfx/fract
Tamaño49 KB
Param68k-amigaos
OrigenAminet