The cycloid generating program was ported to Java by Sukwon Oh.
Note: PostScript and PDF expect a decimal point (.) and not a comma (,); ie, your numbers should look like 123.3 and not 123,3. Java will use whatever matched your local conventions, and the resulting PDF/PostScript will be invalid if it uses a comma. You may need to install the appropriate English language package to get things to work properly.