For now see this
The drawing below is from an earlier work in C++ and is here for the developer's use. Material more relevant to Zylaphon coming soon.