Short: Julia Sets, 3rd version. major update! Author: Thomas.Radtke@rz.uni-osnabrueck.de Uploader: Thomas.Radtke@rz.uni-osnabrueck.de Type: gfx/fract Start this from workbench (tooltypes, but you must rename a bit cause icons and binary are in different directories). Click in the window to get a new Julia Set. Magnify a region by holding the LMB while moving the pointer. Center the set around the pointer by clicking RMB. You can now set the degree and iteration number via tooltypes. Don't try to run julia_030_FPU if you have a cpu below 030 and/or no fpu ! Same for julia_020, but w/o fpu. Its fun on a 256 color workbench. You can run it on every public screen. The source code is in this archive. -> User of version n: Please read the "New in version n+1ff" stuff ! -> You will need OS2.04 for new julia ver. 3 or up options ! To install, rename the executable/icon that fit your needs to julia/julia.info, e.g. rename bin/julia_000 julia rename icons/julia_030_FPU.info julia.info *************************************************************************** julia version 3 or up is now _freeware_ The copyright (C) remains by the author, i.e. you must ask for my written permission before printing or including any part of this archive on any data media to be sold, except for the Aminet CD's or Fred Fish's Library Service. For disk mags, price for inclusion is a free 1 year abo ;) *************************************************************************** Enjoy, Thomas Radtke --------------------------------------------------------------------------- New in version 2: - Icons by Patrick Schenk of the Amiga Users Of Calgary, thanks Patrick ! - slightly faster executables, compiled now with gcc 2.7.0/small data model - the picture can be centered around the mouse pointer by clicking the right mouse button - added new julia_020 version for users of stock a1200/a4000 w/o fpu To do: - Iteration depth should be intependent from number of colors. Maybe given by a tooltype ITER - pos. and size of the window should be determined from tooltypes - degree of the complex function schould not be a fixed value - IFF save option --------------------------------------------------------------------------- New in version 3: julia version 3 is now _freeware_ - version string added - minor bugfix - handling of NEWSIZE changed - compiled with libnix 1.0 and Aminet version of gcc 2.7.0 - picture of my WB added :) - NewIcon added (not by me) - tooltypes added, XPOS x position of the window YPOS y position of the window XSIZE width of the window YSIZE height of the window DEGREE degree of the complex function, i.e. iteration is c_i+1=c_i^degree+const ITER number of *minimum* iterations It follows, that the icons are not longer project icons. In fact, until now I never realized that they were project icons =8)... Ok, I must give an explanation here. Because in julia version 2 I trapped the right mouse button (maybe not my best idea), there is no easy way (menus) left to request such values as DEGREE and ITER. Now, they are part of the icon (tooltypes). This means you need OS2.04 now (at least) in order to use them. DEGREE: Let me explain in detail: Giving a degree of 2 (DEGREE=2) will let julia compute the iteration at normal speed, because I do the transform complex to real by hand (as usual). This is not longer true with free degree. For any other degree except 2 I must let compute your amiga trigonometric functions. This is *very* slow. Another way would be handling of binomial-coefficients. I will test wheather this is faster, but on a fpu machine, you have sin,cos,exp as microcode, but not n! (1*2*..*n). Dont expect to much on your 68881/2. fpu-less machines would maybe benefit. ITER: The other new thing is ITER. julia and julia2 never looked very cool on 4 color screens, because that limited the number of iterations to 4. Now it is possible to set ITER higher than the number of colors (colnum). This will give you a special effect. The color is determined as 1+(i modulo colnum-1), where i goes from 0 to ITER-1. Try it! But: ITER is never lower than colnum >:). To do: - optional other methods for computing the complex power, e.g. METHOD=TABLE,BINOM,TRIGO... - IFF save option (any idea how to do that w/o menus ? any sources for me to do RPort or RastPort to iff ?) - parsing new SDEGREE string in order to allow functions like a_0 + a_1 c + ... + a_n c^n where a_i can be fixed a+ib or rand() --------------------------------------------------------------------------- you are welcome to send me your wishes/comments/bug reports ! stay tuned ! P.S.: Other actual projects are cpuload3 with correct calibration (this thing gurus since the installation of NewIcons package, any idea ?) and dircmp2, a dircmp-like (but better :) command for UN*X boxes and ixemul. Actual versions and infos can always be ordered by E-mail. A older project was stacksize for processing the stacksize in batchfiles. AT really should took this feature into the stack command ! ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 20448 9708 52.5% 06-Nov-95 23:07:38 +julia_000 18980 9346 50.7% 06-Nov-95 23:08:54 +julia_020 16304 8646 46.9% 06-Nov-95 23:13:32 +julia_030_FPU 1314 716 45.5% 25-Aug-95 21:17:54 +julia8.info 1314 716 45.5% 06-Nov-95 23:32:26 +julia_000.info 1301 649 50.1% 06-Nov-95 23:29:18 +julia_020.info 2759 1733 37.1% 06-Nov-95 23:29:18 +julia_030_FPU.info 1226 603 50.8% 25-Aug-95 21:18:00 +juliaMWB.info 5001 2354 52.9% 06-Nov-95 23:31:32 +julia.readme 6385 2270 64.4% 06-Nov-95 23:03:32 +julia.c 62564 44815 28.3% 06-Nov-95 23:46:44 +ThomasWB 488 329 32.5% 06-Nov-95 23:46:44 +ThomasWB.info -------- ------- ----- --------- -------- 138084 81885 40.6% 07-Nov-95 20:27:04 12 files