Anonymous user
Dragon curve/D/DFL: Difference between revisions
updated
(Created page with "{{libheader|DFL}} Translation of Java <lang d>// dfl dragoncurve -gui -release -O private import dfl.all; import std.math; class DrawForm: Form { private int[] turns; ...") |
(updated) |
||
Line 4:
private import dfl.all;
import std.math, std.range;
class DrawForm: Form {
Line 11:
private double startingAngle;
private double side;
private
this() {
Line 27:
}
public int[] getSequence(in int iterations) {
int[] turnSequence;
auto copy = turnSequence.
turnSequence ~= 1;
foreach (turn; copy) {
Line 67:
Application.run(new DrawForm);
}
catch(
msgBox(
result = 1;
}
|