Clastic
Clastic is a collection of modules written in Clean 1.3 which generate
procedural textures: "bitmap" images resulting from some mathematical
algorithms describing relations between points on a plane and their
colours. You will be able to generate geometric (regular), or random patterns
using a functional (declarative) style of programming.
This is not yet a finished, user-friendly "production" application, but a collection of
tools for people who want to experiment. It contains more than 300 functions, but
everything is documented rather superficially. You will be able to produce pictures like these:
or perhaps:
but you will have to write some programs. Clastic offers you a simplistic graphical interface just for your tests.
Clastic works (tested) under Windows NT/2000 under Clean 1.3.3. The conversion to
Clean 2.0 is in progress.
It may work on other platforms as well, its functional layer is platform-independent, but all visualization uses the Windows Object IO (don't blame me...), so on other platforms it will be able just to generate bitmap files. Currently the only format accepted is the full-colour (24 bits) BMP.
-
Load
all Clastic modules as a .zipped file
-
Load a tutorial which is for the moment
the only documentation available
(but quite voluminous anyway, 70 pages, with plenty of pictures...)
-
Uncompress the zipped stuff in a folder called (for example) Clastic, inside your
Clean directory. Declare this directory in the search path defaults for the compiler.
It contains two sub-directories: Examples, and Extras.
They should also belong to the compiler collection of searched paths.
-
The folder Extras contains the file osbitmap.dcl. Replace the standard one, within the Windows subdirectory of
the IO library, by this one. This is "mostly harmless" (well, it should be...), since
the only modification consists in making visible the structure of the Bitmap
object.
-
Read the tutorial. Compile and execute some examples.
-
Tell me what do you think, warn me about bugs, or perhaps just say what would you
like to have here.
Distribution policy:
THANKWARE.
Status:
Eerrr..., sorry, I forgot, could you remind me please how do you call the greek
letter which precedes "alpha"?
Jerzy Karczmarczuk