minvio
v1.10

Minvio ist ein leichtes Java -Framework für die Entwicklung grafischer Anwendungen.
Minvio erstellt das Erstellen des Anwendungsfensters und die zeitgesteuerte Zeichnungsschleife und enthält einen Host von Zeichnungs- und Eingabefunktionen.
Ideal für programmatische Kunst, Experimente, POCs, Algorithmusentwicklung, Spielzeug, Lernen.
Hier finden Sie Beispiele hier: https://github.com/nickd3000/minvio-examples
Fügen Sie die Abhängigkeit von Maven hinzu:
< dependency >
< groupId >io.github.nickd3000</ groupId >
< artifactId >minvio</ artifactId >
< version >1.10</ version >
</ dependency >Minimales Beispiel
import com . physmo . minvio . MinvioApp ;
import java . awt . Color ;
class SimpleExample extends MinvioApp {
public static void main ( String ... args ) {
MinvioApp app = new SimpleExample ();
app . start ( 200 , 200 , "Simple Example" , 60 );
}
@ Override
public void draw ( double delta ) {
cls ( new Color ( 83 , 83 , 83 ));
setDrawColor ( new Color ( 241 , 225 , 58 ));
drawFilledRect ( 50 , 50 , 40 , 40 );
drawFilledCircle ( 120 , 70 , 20 );
drawCircle ( 120 , 120 , 20 );
drawRect ( 50 , 100 , 40 , 40 );
drawText ( "X:" + getMouseX () + " Y:" + getMouseY (), 10 , 190 );
}
}
http://www.coolbubble.com/cc/ - Coolcompare