Converted the project to 100% B4J and using a Canvas to draw on (only drawing from pre-defined sampled images in the Files Tab of the IDE).
Beautiful to see the result of a few days of head banging - change it to your liking. The hard work has been done. Just amazing what a bunch of chained circles of different diameter and different rotation speeds can do!
You need to download the jCanvasExt library by
@klaus (have attached it to this posting) - it has a method to draw Ovals with on a B4J canvas. Copy the jar and xml to your B4J additional library folder. No other "external" libs required other than for jCanvasExt
There are a number of *.txt files added to the Files tab of the IDE. Change the name to the file you would like to see being drawn. Search the web for similar text files and add them to your project.
[CODE lang="b4x" title="*.txt Files for DFT epicycle drawings"] '***************************************************************
'SELECT ONE OF THE *.txt FILES FROM THE FILES TAB OF THE IDE
'***************************************************************
Dim filename As String = "ipimif.txt"[/CODE]
Just for interest sake - the below is drawn by using 1636 epicycles.
This dragon is drawn making use of 3937 epicycles: