minvio

MinVio

Lightweight Java framework for fast, minimal graphical apps and experiments.

MinVio Logo


Quick Start

Add the Maven dependency:


<dependency>
    <groupId>io.github.nickd3000</groupId>
    <artifactId>minvio</artifactId>
    <version>1.21</version>
</dependency>

Minimal example:

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(207, 198, 179));
        setDrawColor(new Color(17, 52, 69, 215));
        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);
    }
}

Simple Example


Blog

More posts coming soon.


FAQ


What is MinVio?

MinVio handles boilerplate like window creation and frame timing so you can focus on drawing:

If you build interactive sketches, algorithm visualizations, or teaching demos, MinVio keeps things small and fast.