It's planned that a tutorial will be made about it for EDM/2.Until that time, feel free to download the sources of the screen saver, read the OpenOffice document describing the API, take one of the modules as a template (e.g. Blank), modify it, and voila, you have your own module! 
Doodle