File: evolvotron.html

package info (click to toggle)
evolvotron 0.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,324 kB
  • sloc: cpp: 10,425; python: 162; sh: 138; makefile: 8
file content (787 lines) | stat: -rw-r--r-- 30,544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
<html>
<head>
<!--- AUTOMATICALLY GENERATED FILE : DO NOT EDIT --->
<title>Evolvotron User Manual</title>
</head>
<body>
<h1>Evolvotron User Manual</h1>

<p>
  Evolvotron is interactive &quot;generative art&quot; software to evolve 
  images/textures/patterns through an iterative process of random 
  mutation and user-selection driven evolution. 
</p>
<p>
  On starting the application, a grid of images is displayed. 
  Resize or maximise the application if you like, but the more 
  pixels have to be calculated, the slower it will be. 
  (For the default 2D image mode, you will need a fast machine or patience. 
  For the optional animation mode, you will need both.) 
</p>
<p>
  Simply repeat the following until bored: 
  <ul><li>Click (singleclick) on an image you like to 
  spawn the next generation of its mutant offspring. 
  </li><li>Wait until variations on it are regenerated in sufficient 
  detail that you can decide which one you like best again. 
</li>
</ul>
</p>
<p>
  IMPORTANT: Initially you should select images with some sort of variation. 
  If you select a uniform image, you may get stuck in a degenerate zone with 
  little to mutate and therefore little chance of escape to more interesting 
  images. You can always reset/restart from the &quot;File&quot; menu (the difference is 
  that &quot;reset&quot; also resets the mutation parameters to their default values). 
  Selecting one of the &quot;warp&quot; options from a context menu (right-click on 
  an image) can also help by introducing an additional opportunity for 
  mutation on subsequent spawns. 
</p>
<p>
  Note that various spirals, grids and tiles, although complex looking, 
  are actually implemented by a single function node and may leave you stuck too. 
</p>
<h2>Command Line Options</h2>
<p>
  The following are equivalent: 
  <ul><li>evolvotron --grid 12x8 
  </li><li>evolvotron --grid=12x8 
  </li><li>evolvotron -g 12x8 
</li>
</ul>
</p>
<h3>General Options</h3>

<p>
  <ul><li>-a, --autocool <br>
  Enable autocooling by default, and cause resets of mutation 
  parameters to re-enable autocooling if it was disabled. 
</li>
</ul>
</p>
<p>
  <ul><li>-F, --fullscreen <br>
  Start in &quot;fullscreen&quot; mode (NB for Qt on X11 this means 
  a screen-filling borderless/undecorated window is used; 
  it's not simply maximising the window, and it's not the 
  sort of framebuffer hijacking used by SDL games). The Qt 
  documentation claims some window managers may not be entirely 
  cooperative with this (in which case sorry, you're on your own). 
  evolvotron actions which bring up dialog boxes (e.g save) seem 
  to generally behave fairly sensibly but child windows 
  (e.g enlargements or dialogs) can show some &quot;interesting&quot; behaviour. 
  Fullscreen mode can be toggled within the application using &quot;F&quot; key. 
  The &quot;Esc&quot; key will also exit it. 
</li>
</ul>
</p>
<p>
  <ul><li>-g, --grid <i>cols</i>x<i>rows</i> <br>
  Sets size of the grid of image display cells in the main application area (defaults to 5x6) 
</li>
</ul>
</p>
<p>
  <ul><li>-h, --help <br>
  Print summary of command line options and exit. 
</li>
</ul>
</p>
<p>
  <ul><li>-j, --jitter <br>
  Enable sample jittering. Samples will be made at a random position 
  within a pixel instead of on a regular grid, providing some antialiasing. 
</li>
</ul>
</p>
<p>
  <ul><li>-m, --multisample <i>multisample grid</i> <br>
  Enables additional antialiasing passes. 
  Specifying 2 or 3 will provide an additional pass with 2x2 or 3x3 samples per pixel. 
  Specifying 4 (or higher) will provide a 2x2 and a final 4x4 pass. 
  Specifying 1 provides the default behaviour of one sample per pixel. 
  For best rendering quality also specify -j. 
</li>
</ul>
</p>
<p>
  <ul><li>-M, --menuhide <br>
  Start with menu and status bar hidden. Nice with --fullscreen. 
  Hiding can be toggled within the application using ctrl-m. 
  The Esc key will also bring them back. 
</li>
</ul>
</p>
<p>
  <ul><li>-p, --spheremap <br>
  Images are produced by sampling the underlying 3D function on the 
  latitude-longitude grid of a sphere. The resulting images should be 
  usable as spheremaps/spherical environment maps. Animations vary 
  the radius of the sphere. NB when in spheremap mode, 
  middle mouse button adjustments do not yet behave like you'd expect. 
</li>
</ul>
</p>
<p>
  <ul><li>-S, --startup <i>function_filename</i> <br>
  Specify a function filename (evolvotron's XML format) to load on startup 
  (or reset). The option can be provided multiple times, and this is 
  also the interpretation of any positional arguments. Startup functions 
  are placed in the grid from left to right, top to bottom. 
</li>
</ul>
</p>
<p>
  <ul><li>-U, --shuffle <br>
  Use in conjunction with -S / --startup options, to display the specified 
  functions in random order, both on application startup and on each 
  reset of the application. 
</li>
</ul>
</p>
<h3>Animation Options</h3>

<p>
  <ul><li>-f, --frames <i>frames</i> <br>
  Number of frames in animations (defaults to 1 i.e no animation) 
</li>
</ul>
</p>
<p>
  <ul><li>-l, --linear <br>
  Vary z linearly with time rather than sinusoidally. 
  Sinusoidal variation generally looks better when animations are &quot;bounced&quot; 
  forwards and backwards, but this option is useful when generating slices to 
  use as volumetric textures. 
</li>
</ul>
</p>
<p>
  <ul><li>-s, --fps <i>framerate</i> <br>
  Rate at which frames are displayed per second (integer). (Defaults to 8). 
</li>
</ul>
</p>
<h3>Power-user & Debug Options</h3>

<p>
  Note that the usual Qt/X11 options 
  (for example, -geometry <i>width</i>x<i>height</i> option to set on-screen size in pixels) 
  are processed and removed before evolvotron options are checked. 
</p>
<p>
  <ul><li>-D, --debug <br>
  Puts the certain aspects of the app into a more debug oriented mode. 
  Currently (ie this may change) it simply changes function weightings 
  so virtually all function nodes are FunctionNoiseOneChannel. By itself 
  this is a pretty pointless thing to do, but in conjunction with the -X 
  options it's useful for examining the behaviour of specific functions. 
</li>
</ul>
</p>
<p>
  <ul><li>-E, --enlargement-threadpool <br>
  Use a separate thread pool for computing enlargements. 
  Using this option ensures computation of enlargements 
  continue to make some progress even while the main grid 
  is being actively worked on. However, this will be at 
  the expense of main grid rendering performance. 
  Without this option, enlargements' final high-resolution 
  renderings are invariably lower priority than computation 
  for images in the main grid. 
  See also the -N option to control the priority of threads 
  in this pool. 
</li>
</ul>
</p>
<p>
  <ul><li>-n, --nice <i>niceness</i> <br>
  Sets additional niceness (relative to the main application thread) 
  of the compute (rendering) thread(s). 
  It's useful to run compute threads at a slightly lower priority 
  (&quot;nice 4" is the default without this option) than the main (GUI) 
  part of the program (but note that this means other normal/lowish 
  priority tasks running on your machine may slow evolvotron down 
  a bit more than expected). 
</li>
</ul>
</p>
<p>
  <ul><li>-N, --Nice <i>enlargement niceness</i> <br>
  Sets additional niceness (relative to the main application thread) 
  of the compute thread(s) computing enlargements (default value is 8). 
  Only effective in conjunction with -E option. 
</li>
</ul>
</p>
<p>
  <ul><li>-t, --threads <i>threads</i> <br>
  Sets number of compute threads. 
  If this is not specified, then as many compute threads are created 
  as there are processors on the system (unless this cannot be 
  discovered in which case only a single compute thread is created). 
  Non-linux builds will likely not include code to determine processor count 
  (suitable patches gratefully received). 
</li>
</ul>
</p>
<p>
  <ul><li>-u, --unwrapped <br>
  Modifies -F behaviour so that the specified &quot;favourite&quot; function 
  is NOT wrapped by space/colour transforms. NB For functions without leaf nodes 
  or parameters (e.g FunctionSphericalToCartesian) this doesn't 
  leave any scope for variation or future mutation. 
  Function name recognition is case sensitive. 
  Example: 
  <code>evolvotron -F FunctionKaleidoscope -u </code>
</li>
</ul>
</p>
<p>
  <ul><li>-v, --verbose <br>
  Verbose mode, writes various things to application stderr. 
  This is primarily intended to assist debugging. 
  This option used to be useful for getting a list of supported function 
  names for use with the -F option, but those can also be inspected 
  via the Settings dialogs. 
</li>
</ul>
</p>
<p>
  <ul><li>-x, --favourite <i>functionname</i> <br>
  Force a specific &quot;favourite&quot; function type to be used at the top level 
  of all function trees. The specified function is still wrapped 
  by spatial and colour warping functions which may disguise 
  it considerably. A list of all the function names understood 
  by evolvotron is output during app startup when the -v option 
  is specified. Function name recognition is case sensitive. 
  Example: 
  <code>evolvotron -F FunctionSpiralLinear </code>
</li>
</ul>
</p>
<h2>Mouse Control</h2>

<h3>Left-click</h3>
<p>
  A left-click on an image in the main window spawns the mutant offspring 
  of that image to all the other (non-locked) displays in the grid. 
</p>
<h3>Right-click Context Menu</h3>
<p>
  Right clicking on an image gets you a few more options: 
</p>
<p>
  <ul><li>&quot;Respawn&quot; regenerates just the current image from whatever it was 
  spawned from (and using recolour or warp, if that's what was used 
  to produce it). 
  The main use of this is to make your grid of images look nice 
  for screendumps, by regenerating any which aren't up to scratch. 
  NB May not work as expected after an &quot;undo&quot;. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Spawn&quot; is the same as clicking an image. It generates mutated 
  images to all unlocked images in the grid. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Recolour&quot; to produce different coloured variants of the selected image 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Warp&quot;'s sub-options produce variants of the image which have been 
  zoomed/rotated/panned. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Lock&quot; to prevent an image from being overwritten by spawns from other 
  images (select again to toggle). 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Enlarge&quot; to produce a blow-up of the image in a single window. 
  Submenu items select either a freely resizable window or 
  a scrollable view of a fixed size image. 
  If the application is running in fullscreen mode (NB this is 
  NOT the same as a simply &quot;maximised&quot; window) then the enlarged 
  image will also be fullscreen (the &quot;Resizeable&quot; mode is probably 
  what you want in this case as the image will automatically be 
  rendered at the correct resolution). 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Save image&quot; to save the image in a file (.ppm or .png). 
  You generally want to save an enlarged image: if you 
  save a small image from the grid, the size you see on the screen 
  is the size you get in the file. Save isn't allowed until the 
  full resolution image has been generated; if you try to save too 
  early a dialog box will be displayed telling you to try again later. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Save function&quot; to store the function to an XML file. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Load function&quot; to load a stored function from an XML file. 
  NB if the file was saved from a different version numbered 
  evolvotron, a warning message will be generated. 
  Save/load of functions is an experimental feature and you should 
  not count on future versions of evolvotron being able to load 
  files saved from old versions, or producing the same image 
  from a loaded function. Attempting to load functions from later 
  versions into earlier versions is even less likely to succeed. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Simplify&quot; prunes the function tree of redundant branches where 
  possible (the same action can be applied to all images from 
  the main &quot;Edit&quot; menu). This doesn't change the appearance of 
  the image, but may make it recompute faster. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;Properties&quot; brings up a dialog box containing some information 
  about the image (e.g the number of function nodes it contains). 
</li>
</ul>
</p>
<h3>Middle Mouse Button</h3>
<p>
  [NB This feature will probably only be of practical use to those with high-end machines]. 
</p>
<p>
  You can use the middle mouse button to drag-adjust individual images. 
  This is useful for &quot;final composition&quot; type tweaks, e.g centering an 
  image's most interesting feature, or just for satisfying your curiosity 
  about what's off the edge of the image. 
</p>
<p>
  It also works on enlarged images, although it's virtually unusable without 
  a bit of practice on smaller, faster ones (just boldly make the adjustment 
  you want, release the button... and wait). 
</p>
<p>
  Changes made can be rolled-back on the main Edit/Undo menu item, 
  one drag-action at a time. 
</p>
<p>
  An unmodified middle-mouse drag pans the image around following 
  the mouse motion. 
</p>
<p>
  A SHIFT-middle drag zooms the image in and out with scaling 
  proportional to the distance from the centre of the image. Beware of 
  generating huge zooms by clicking too near the centre of the image. 
</p>
<p>
  An ALT-SHIFT-middle drag is similar but anisotropic: the scaling 
  may be different in X and Y. Warning: this technique is very 
  sensitive and can be quite tricky to use! In particular, 
  if you initially click near the centre axes of the image the zoom factor 
  can be HUGE, so the best way to start using this is to click about halfway 
  on a diagonal between the image centre and a corner and gently move in and 
  out radially. Dragging from one side of the image to the other flips it over 
  (the degenerate case of infinite zoom at the centre is handled cleanly I think). 
  If it all goes horribly wrong, undo and try again. 
</p>
<p>
  A CTRL-middle drag rotates the image about its centre. 
</p>
<p>
  A CTRL-ALT-middle drag shears the image (the best way to see what 
  this does is to click in the corner of an image and move the mouse 
  horizontally or vertically). 
</p>
<h2>Keyboard Control</h2>

<p>
  There are some keyboard shortcuts. 
</p>
<h3>Main Window</h3>

<p>
  <ul><li>&quot;r&quot;/&quot;t&quot;/&quot;x&quot; perform various starts of reset/restart. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;q&quot; quits the application. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;u&quot; (and also Ctrl-z) does an undo. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;f&quot;: full-screen mode (on X11, Qt does this by asking the 
  window manager for a screen-filling undecorated window, and the 
  documentation contains some dire warnings about problems with broken 
  window managers). See also &quot;-F&quot; command line option. 
  Fullscreen mode propagates to enlarged image display windows. 
  NB The application may completely disappear from the screen for 
  a brief interval while switching mode. 
</li>
</ul>
</p>
<p>
  <ul><li>&quot;m&quot; : hides status and menu-bar hiding, which can be nice when 
  in full-screen or window-maximised mode. See also &quot;-M&quot; 
  command line option. Also note that while the menu bar 
  is hidden, most of these keyboard shortcuts won't function 
  as they're tied to the menu system. 
</li>
</ul>
</p>
<p>
  <ul><li>Esc : exits full-screen and/or menu-hiding mode, putting the 
  application into its normal default state. 
</li>
</ul>
</p>
<h3>Enlargement Windows</h3>
<p>
  The image display windows created by selecting &quot;Enlarge&quot; from a 
  context menu also have a couple of keyboard operations: 
</p>
<p>
  <ul><li>&quot;f&quot; : [NB only available with fullscreen build option] toggles 
  full-screen mode. When returning to normal mode, if the main app 
  window was fullscreen then it will also drop back to normal mode. 
</li>
</ul>
</p>
<p>
  <ul><li>Esc : [NB only available with fullscreen build option] 
  completely closes a fullscreen-mode enlargement window. 
</li>
</ul>
</p>
<h2>Gui Elements</h2>

<h3>Main Menu Bar</h3>
<p>
  <ul><li>File menu: 
  Items to restart, reset and quit the application. 
  The difference between restart and reset is that reset 
  sets the mutation parameters back the their default values. 
  The &quot;randomize function weights&quot; version of restart scrambles 
  the relative probability of the various function types (if you 
  think evolvotron just keeps generating the same kinds of 
  images give it a try). The &quot;restart with specific function&quot; 
  item duplicates the functionality of the &quot;-x&quot; and &quot;-X&quot; command-line 
  options. 
  </li><li>Edit menu: 
  &quot;Undo&quot; lets you undo certain actions: e.g spawn, 
  middle-button adjustment, simplification and lock/unlock. 
  There is a large but limited number of levels of undo. 
  &quot;Simplify&quot; is of curiosity value only: it prunes redundant 
  branches from images (&quot;junk DNA&quot;); this may help them recompute 
  faster but at the cost of there being less mutatable material. 
  </li><li>Settings menu: 
  &quot;Mutations&quot; brings up a dialog to modify the amount 
  of change spawned images are subject to. 
  (See &quot;advanced usage&quot; below.) 
  &quot;Functions&quot; brings up a dialog to modify the relative probability 
  of functions being used. By default all functions are equally 
  likely except for iterative functions and fractals, which are 
  almost but not completely suppressed. But if you think there 
  are too many spirals or grids (or not enough fractals) then this 
  is the place to adjust the frequency with which they appear. 
  If the software was built with the fullscreen option, 
  that can also be controlled from this menu. 
  &quot;Favourite&quot; brings up a dialog which allows you to select a specific 
  function type to always be used as the root node of any new functions. 
  The function can be wrapped by some other random stuff, or unwrapped. 
  See also the -X and -x command line options. 
  </li><li>Help menu: 
  Items to bring up documentation, and the usual &quot;About&quot; box 
  (which includes the license). 
</li>
</ul>
</p>
<h3>Status Bar</h3>
<p>
  An area on the status bar shows how many compute &quot;tasks&quot; are 
  outstanding (or &quot;Ready&quot; when there are none). When two task 
  totals are reported, the first is for the main grid and the 
  second for any enlargements being computed. 
  Each &quot;task&quot; is the recomputation of an image at some resolution. 
  Tasks are prioritised by their number of pixels (small image 
  implies higher priority). This is why, if the main grid is still 
  recomputing, recalculations of enlargements will appear to freeze 
  after they have reached a certain resolution, at least until other 
  lower resolution tasks have completed. 
</p>
<p>
  The status bar also provides some control over the &quot;autocool&quot; 
  mechanism which reduces mutation strength with time. 
  See the advanced usage section below. 
</p>
<h2>Tips</h2>
<p>
  <ul><li>Don't start a session with any preconceived ideas about the kind 
  of image you want to get out of it. You will be disappointed. 
  </li><li>I get the best results when I click the image which most 
  immediately catches my eye as they start appearing. If you stop 
  to think about it too much then things seem to go downhill. 
  </li><li>If you seem to be just getting the same old spirals and grids 
  all the time, stop clicking on spirals and grids! 
  (The same goes for random mush). 
  </li><li>Don't get too hung up on using the warp and middle-mouse drag 
  adjustments every iteration... use those tools for final 
  polishing of your masterpiece. 
  </li><li>You can quickly cycle through a lot of initial images (until 
  you find one with real potential) by bashing on Ctrl-r to 
  repeatedly restart. 
  </li><li>To add variety to an image's mutations, nudge it with a small 
  middle-mouse drag. This introduces a top level transform, and 
  therefore more parameters to be varied. 
  </li><li>Enlargements take a long time to complete their final 
  high-resolution rendering pass (especially with multisampling 
  enabled). Most convenient practice seems to be to go away and 
  leave them to complete, then come back and save them later. 
  Continuing to click away on the main grid effectively starves 
  them of CPU, unless the -E command-line option is used. 
</li>
</ul>
</p>
<h2>Animation</h2>
<p>
  As of version 0.2.0 evolvotron contains some experimental support 
  for generation of animations (although so far the results have been 
  pretty disappointing IMHO, but it's still early days). 
</p>
<p>
  NB THIS IS EVEN MORE COMPUTATIONALLY AND MEMORY INTENSIVE THAN 
  THE STATIC IMAGE MODE. 
</p>
<p>
  Simply supply a -f <i>frames</i> command line option and evolvotron will 
  generate animated sequences with the specified number of frames. 
  These will be displayed at the frame rate specified by the 
  optional -s <i>framerate</i> option (default 8). So &quot;evolvotron -s 24&quot; 
  will generate 3 second long animations. Animations reverse direction 
  at each end to avoid a sudden jump. 
</p>
<p>
  If you save an animation as PPM or PNG, multiple files will 
  be saved with .fnnnnnn (where nnnnnn is the zero-filled frame 
  number) inserted in each filename before the filetype qualifier. 
</p>
<p>
  For example, if you enter foo.ppm as the filename to save, 
  files foo.f000000.ppm, foo.f000001.ppm... will be saved. 
  If you have the ImageMagick tools you can convert these to 
  an animated GIF playing at approx. 8 frames per second with: 
</p>
<p>
  <code>convert -delay 12 foo.f??????.ppm foo.gif </code>
</p>
<h2>Advanced Usage</h2>
<p>
  Evolvotron's idea of an image is a function which converts 
  XYZ co-ordinates to an RGB colour (however we can only display 
  a 2D plane for now so the input Z is fixed to zero, or varied 
  with time when animating). 
</p>
<p>
  The image functions are constructed from trees of function nodes. 
  (In the mathematical expression 1+(2*x) the &quot;+&quot; and the &quot;*&quot; would 
  be function nodes.) Evolvotron's functions tend to correspond to 
  geometric or colour-space operations or anything else which can be 
  applied to a 3D vector. 
</p>
<p>
  By mutating the structure of the function tree (adding random 
  branches, for example) and the values of the constant embedded 
  within it, the image can be changed. 
</p>
<p>
  The mutation parameters are under control from the dialogs accessible 
  via the Settings menu, and the &quot;autocool&quot; mechanism exposed in the 
  status bar also has some influence. 
</p>
<p>
  There are two kinds of mutation: perturbations to the magnitude of constants, 
  and structural mutations which re-arrange the function tree of an image. 
  Four types of structural mutations are currently implemented: 
  <ul><li>replacement of a function branch by a new random stub (a &quot;Glitch&quot; mutation). 
  </li><li>a random shuffle of a node's sub-nodes 
  </li><li>insertion of random nodes between a node and it's sub-nodes 
  </li><li>the substitution of a node with one of a different type, 
  with sub-nodes unaffected where possible). 
</li>
</ul>
</p>
<p>
  The probability (per function node) of these mutations is controlled 
  from spinboxes on the &quot;Mutation Parameters&quot; dialog (expressed as 
  chances-in-a-hundred), as is the size of perturbations to constants. 
</p>
<p>
  It is useful to think of the perturbations to constant parameters as 
  being a thermal effect (hence the &quot;heat&quot; and &quot;cool&quot; buttons), while 
  structural alterations are more drastic and are caused by high energy 
  gamma rays or something (hence &quot;irradiate&quot; and &quot;shield&quot; buttons to 
  adjust the probability of structural mutations). 
</p>
<p>
  So why would you want to change the mutation parameters from the initial 
  defaults ? Basically, if you're getting too much variation in spawned images 
  (this tends to happen after many generations of images, by which time the 
  function trees have grown quite large and therefore are experiencing a lot 
  of mutations) then cool and/or shield. 
  If all the images look too similar, heat and/or irradiate. 
</p>
<p>
  The &quot;autocool&quot; mechanism (enabled from the statusbar or mutation parameters 
  dialog) automatically reduces the strength of mutations from the base 
  values with successive generations. The cooling can be cancelled by 
  disabling autocooling or pressing the &quot;Reheat&quot; button to zero the number 
  of generations counted for cooling. The effect of the cooling is a compound 
  halving of the mutation strength after some number of generations (this number 
  is the &quot;half-life&quot; controllable from the mutation parameters dialog). 
  Note that if autocooling is enabled then eventually, after a number of 
  iterations more than many multiples of the half-life has passes, spawned 
  images will differ very little from their parents (hence the need for &quot;reheat&quot;). 
</p>
<p>
  There is also a dialog accessible from &quot;Functions...&quot; on the &quot;Settings&quot; menu. 
  This allows control over the relative proportions in which functions occur. 
  There is a tab showing the relative weighting of all functions (log-2 scale: each 
  tick halves the probability of the function occurring), and additional tabs 
  for various classifications of function for quicker access. 
  The &quot;Randomize&quot; button on each tab assigns random weightings and helps 
  increase the uniqueness of your session. 
</p>
<p>
  The &quot;Functions&quot; dialog also has a &quot;Dilution&quot; tab which allows the average 
  function-tree branching ratio to be controlled (by changing the proportion 
  of trivial zero-branch functions added): note that using a high branching 
  ratio results in very complex images which will take a long time to compute, 
  while reducing the ratio results in simple, boring images. 
</p>
<p>
  3 types of function node are considered fundamental: constant nodes 
  (which return a constant), identity nodes (which return their 
  position argument) and transform nodes (which transform their position 
  argument by random parameters). On the &quot;Dilution&quot; tab of the &quot;Functions&quot; 
  dialog there are two slider controls to affect things related to these: 
  <ul><li>&quot;proportion constant&quot; controls the proportion of diluting fundamental nodes 
  which are constants. Changing this from its default value of 0.5 doesn't 
  actually seem to have much effect. 
  </li><li>&quot;proportion transforms&quot; sets the proportion of non-constant nodes diluting 
  which are transforms (as opposed to identity nodes). 
  The main effect of this is that images are less commonly obviously centred 
  on the origin or aligned with the axes. I think this is a good thing, so 
  the value is at 1.0 by default. 
</li>
</ul>
</p>
<h2>Other Executables</h2>
<p>
  This release also builds some other command-line driven (non-GUI, non-interactive) utilities. 
  Consult the man pages for full details. 
</p>
<p>
  evolvotron_render reads a XML function description from its standard input and renders it to the 
  file specified. 
</p>
<p>
  evolvotron_mutate reads an XML function description from its standard input and outputs a mutated version. 
  A command line option allows the &quot;genesis&quot; situation of creating a random function description with no input. 
</p>
<h3>Examples</h3>

<p>
  Evolving and mutating on the command line: 
</p>
<p>
  <code>evolvotron_mutate -g | tee fn.xml | evolvotron_render /tmp/xxx.ppm ; display /tmp/xxx.ppm </code>
</p>
<p>
  <code>cat fn.xml | evolvotron_mutate | evolvotron_render -j -m 4 /tmp/xxx.ppm ; display /tmp/xxx.ppm </code>
</p>
<p>
  Animating a function ani.xml saved from evolvotron in animation mode: 
</p>
<p>
  <code>cat ani.xml | evolvotron_render -f 100 -v -s 256 256 ani.ppm ; animate ani.f??????.ppm </code>
</p>
<h2>Future Developments</h2>
<p>
  Please check the TODO file first before you send me suggestions! 
</p>
<p>
  Please don't ask me to port evolvotron to proprietary platforms. 
  You are of course Free under the terms of the GPL to do so yourself, 
  but please read 
  http://www.fefe.de/nowindows/ 
  first. 
</p>
<h2>Thanks</h2>
<p>
  To those who have contributed feedback, suggestions and patches: 
  <ul><li>Dmitry Kirsanov 
  </li><li>Jonathan Melhuish 
  </li><li>Karl Robillard 
  </li><li>Linc Davis 
  </li><li>Paolo Greppi 
  </li><li>Marcin Wojtczuk 
  </li><li>Michael Sterrett 
  </li><li>Massimiliano Guastafierro 
  </li><li>Goetz Waschk 
  </li><li>Forrest Walter 
  </li><li>&quot;chr_bl&quot; at web.de 
</li>
</ul>
</p>
<p>
  And to the anonymous Linspire reviewer who perhaps came up with the best 
  summary of evolvotron yet: &quot;Fascinating. Utterly pointless, but fascinating.&quot; 
</p>
<p>
  The friezegroups wouldn't have been possible without 
  http://michaelshepperd.tripod.com/resources/groups.html 
</p>
<p>
  Thanks to www.di.fm, www.somafm.com and Trance4Ever for music to code to. 
</p>
<p>
  Thanks especially to a SIGGRAPH conference panel many years ago (likely 
  including Karl Sims, the pioneer in this area) who first got me interested 
  in this stuff. 
</p>
<h2>Why ?</h2>
<p>
  I have always admired those who have the skill to wield a pen or paintbrush 
  and fill a sheet of paper or a canvas with some striking image from their 
  imagination. Unfortunately I lack the patience to learn such skills, 
  and probably the necessary manual dexterity and imagination too. 
</p>
<p>
  Evolvotron, and several predecessors developed on and off over a decade 
  since I first came across the idea, are an attempt to compensate for 
  this using the skills I do have i.e some mathematical sensibility 
  and the ability to write working code (well, sometimes). If you like 
  an image it produces, then as far as I'm concerned that's as satisfying 
  a result as if you liked something I'd drawn myself. 
</p>
<p>
  Tim Day 
</body>
</html>