5 DeathSockets Flow
Craig Oates edited this page 4 years ago

To help you get up to speed on the way DeathSocket works, please consider the following image:

deathsocket general flow

The way it works is you construct an ImageSpec record, found in "Domain.fs". When you have done that, you call one of the functions in "GridPainter.fs". After that, the image creation process begins. This is done via the functions within the other files and your ImageSpec. While this is happening, the function in "GridPainter.fs" (housed in the GridPainter module) maintains overall control and essentially co-ordinates the task.

Note: This is the general flow of the system. You will find some functions which do not need an ImageSpec and the above does not cover those exceptions. With that said, they are not as common as the main loop mentioned above. And, they will reveal themselves naturally when you get passed the initial learning curve. So, don't worry about them for now.