FLTK logo

Article #401: Glito 1.1

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Articles | Show Comments | Submit Comment ]

Article #401: Glito 1.1

Created at 01:17 Mar 21, 2005 by dejan

Glito deals with linear functions:

Xn+1 = x1 Xn + x2 Yn + xc Yn+1 = y1 Xn + y2 Yn + yc

and sinusoidal functions:

Xn+1 = x1 cos(Xn) + x2 sin(Yn) + xc Yn+1 = y1 sin(Xn) + y2 cos(Yn) + yc

Glito can be used to draw Julia sets as well. Theorically we just need to draw the points defined by:

Zn+1 = √( Zn - c )

where c is the parameter of the Julia. In Glito the equation is modified to make the manipulation easier and to benefite from the linear mappings. We define, with Zn = Xn + i Yn and c = xc + i yc:

Zn+1 = √( x1 Xn + x2 Yn + i (y1 Xn + y2 Yn) + c² )

Glito represents a function by a parallelogram. The center of the parallelogram has for coordinates (xc, yc) and two contiguous edges correspond to the vectors (x1, y1) and (x2, y2).

Glito's features:

    

  • modification by translation, rotation, dilation... of the IFS functions thanks to mouse
        
  • real-time visualization of the modifications
        
  • animations (transition between 2 IFS, rotation, zoom)
        
  • IFS can be saved under an XML format or under the Fractint format
        
  • images and animations can be saved in gray level, transparent or not. File formats: PNG, PGM, BMP and MNG for the animations

Download | Home Page | Listing ]


Comments

Submit Comment ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.