Viele weitere Beispielprojekt für verschiedene Anwendungen

This commit is contained in:
ngb
2022-06-19 22:26:01 +02:00
parent dc6b7ee351
commit a2d883305a
97 changed files with 2535 additions and 61 deletions

View File

@@ -40,7 +40,7 @@ public class Dot implements Drawable {
color = DOT_WHITE;
}
value = Constants.limit(value, 1.0);
value = Constants.limit(value, 0.0, 1.0);
size = (int) (SIZE * value);
}
@@ -51,7 +51,7 @@ public class Dot implements Drawable {
@Override
public void draw( Graphics2D graphics ) {
graphics.setColor(color.getColor());
graphics.setColor(color.getJavaColor());
graphics.fillOval(GAP + x * (SIZE + GAP) + RADIUS - (size / 2), GAP + y * (SIZE + GAP) + RADIUS - (size / 2), size, size);
}

View File

@@ -1,6 +1,6 @@
# Zeichenmaschine: TIXY
# Zeichenmaschine: GenLines
TIXY ist ein kreatives Projekt, bei dem ein Feld von Punkten durch geschickt
GenLines ist ein kreatives Projekt, bei dem ein Feld von Punkten durch geschickt
gewählte mathematische Formeln animiert wird.
Die Idee stammt von der Seite http://tixy.land

View File

@@ -60,4 +60,9 @@ public class TIXY extends Zeichenmaschine {
}
}
@Override
public void mousePressed() {
stop();
}
}

View File

@@ -1,15 +1,15 @@
#BlueJ package file
dependency1.from=TIXY
dependency1.from=GenLines
dependency1.to=MyTIXY
dependency1.type=UsesDependency
dependency2.from=TIXY
dependency2.from=GenLines
dependency2.to=Dot
dependency2.type=UsesDependency
dependency3.from=MyTIXY
dependency3.to=Dot
dependency3.type=UsesDependency
dependency4.from=Dot
dependency4.to=TIXY
dependency4.to=GenLines
dependency4.type=UsesDependency
editor.fx.0.height=728
editor.fx.0.width=1037
@@ -36,7 +36,7 @@ readme.width=48
readme.x=10
readme.y=10
target1.height=70
target1.name=TIXY
target1.name=GenLines
target1.showInterface=false
target1.type=ClassTarget
target1.width=120