| This is the result of a program written using an old version of J language: http://ww2.lafayette.edu/~reiterc/misc_frac/wow.html
The sourcecode (careful, it's dirty HTLM, you may need internet Explorer or something else to save it as a correct and clean source text, Firefox isn't able to save it correctly): http://ww2.lafayette.edu/~reiterc/j/vector/wwifs.html
J comes from APL, so it's not easy to read for most untrained humans. The image shows a nonaffine iterated function system that creates an image on the base of any uppercase word given the user. In that page you can see 3 different systems, each one produces a different image. Each word is an iterated fractal of itself. The J sourcecode contains affine transformations for all the uppercase letters. I'd like to create a similar program for Python, the algorith is probably simple enough (the normal iterated function algorithm is really simple) but reading J is much less easy (Scotty from StarTrek once said something similar about Klingon). See also: http://en.wikipedia.org/wiki/Marc_Okrand
In combinatorics the twelvefold way provides a unified framework for counting permutations, combinations and partitions: http://en.wikipedia.org/wiki/Twelvefold_way | comments: Leave a comment  |
| Programma Python per visualizzare tennis frattale: http://www.fantascienza.net/leonardo/so/index.html#tennis Funziona (producendo immagini binarie) anche se non si dispone di Numeric (per Python).
Con gli array di Numeric/numarray/SciPy si possono fare molte cose, e in questo caso sono stati quasi adeguati ai miei bisogni. Di solito si dice che Python e' un linguaggio semplice, ad esempio piu' facile del C, ma questo non e' sempre vero. Infatti ad esempio in questo programma fare operazioni su liste di liste Python sarebbe risultato troppo lento anche con Psyco, per cui ho dovuto usare Numeric, il cui uso e' limitato, scomodo, non intuitivo, e serve il manuale per ricordarsi le funzioni. Implementare i loop e le eleaborazioni in C, Delphi, ecc, sarebbe stato molto piu' comodo, facile, senza limitazioni, non serebbe servito il manuale, ecc. ShedSkin con una biblioteca grafica veloce dovrebbe prendere il meglio di entrambe le vie (lo svantaggio che rimane e' che i programmi di ShedSkin sono lenti da compilare).
---------------------
Python program to show Fractal Tennis: http://www.fantascienza.net/leonardo/so/index.html#tennis
With Numeric/numarray/SciPy arrays you can do many things, in this program they have been almost fit for my purposes. Usually people say that Python is a language simple to use, for example easier than C, but sometimes this isn't true. For example, in this program working on lists of lists with Python is too much slow even with Psyco, so I have had to use Numeric, that is limited, unintuitive, and I keep needing the manual to find its various functions. Implementing loops and processing with C or Delphi, etc languages, is much simpler, without limitations, a bit faster, and I don't need manuals to do it because you use very few things (like for loops, array access, and math operators). ShedSkin with a fast graphics library can be the best of both solutions (but compiling ShedSkin programs is very slow, so it's better to debug them with CPython).
Gamma corrected negative rescaled example image of a fractal fern: Immagine d'esempio di foglia di felce frattale, negativa, riscalata e con gamma corretta:
 | comments: Leave a comment  |
|