Créer un compte gratuit
Rejoignez Calaméo pour publier et partager vos documents !
Notez et commentez vos publications favorites, téléchargez des documents, partagez vos lectures avec vos amis.
08-JoP-Aug-07
1 pages
Publié par
sgganesh
Copyright :
Tous droits réservés
www.
linuxforu.
com | LINUX FOR YOU | AUGUST 2007
C M Y K
91
TTTTT
he term ‘fractal’ was coined in 1975 by a
mathematician named Mandelbrot.
Fractals are
created based on some simple patterns and simple
rules.
An important...
[Plus]
www.
linuxforu.
com | LINUX FOR YOU | AUGUST 2007
C M Y K
91
TTTTT
he term ‘fractal’ was coined in 1975 by a
mathematician named Mandelbrot.
Fractals are
created based on some simple patterns and simple
rules.
An important characteristic of fractals is that they are
‘self-similar’—a small portion of a fractal, when magnified, can
reproduce a larger portion of the fractal!
It is easy to write computer programs to create fractals,
since fractals are produced with simple mathematical rules and
are based on recursion.
In this column, we’ll create a variation of a simple, wellknown fractal called the ‘Sierpinski triangle fractal’.
Writing portable C programs to create graphical
representation of fractals is not possible because the standard
C language does not define any functions for graphics
programming.
It is possible to write graphics programs that use
the facilities provided by the underlying operating system;
however, for now, we’ll limit ourselves to creating fractals with
ASCII
[Moins]
Tags
based,
character,
characters,
column,
computer,
count,
create,
fractal,
fractals,
ganeshby,
print,
printf,
program,
programs,
reset,
simple,
works