Minvio is a Lightweight Java framework for developing graphical applications.
Minvio handles creating the application window and timed draw loop, and exposes a host of drawing and input functionality.
http://www.coolbubble.com/projects/minvio
Add maven dependency:
<dependency>
<groupId>io.github.nickd3000</groupId>
<artifactId>minvio</artifactId>
<version>1.08</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(Color.LIGHT_GRAY);
setDrawColor(Color.WHITE);
drawFilledRect(75, 75, 50, 50);
setDrawColor(Color.BLUE);
drawCircle(100, 100, 70);
drawText("X:" + getMouseX() + " Y:" + getMouseY(), 10, 190);
drawText("Tick :" + getFps(), 10, 160);
}
}
- Simplified app startup
- Added pass-through methods in MinvioApp to drawing context
- Removed all example - They are now in a separate project - minvio-examples
- Matrix drawer changes
- Added QuickRandom
- Added Entity-Component system
- Added Entity-Component example
- Added Vec3 object
- Added bucket list utility and gravity particle example
- Added Ribbons to gallery
- Added getMousePointNormalised
- Added Perlin Noise utility and examples.
- Added colour gradient system and examples.
- Added Matrix and point list rendering helpers with examples.
- Added anchor system.
- Rearranged example file folders.
- Added lerp functions for several types.
- Added FindClosestPointInList helper function.
- Changes to image loading.
http://www.coolbubble.com/cc/ - coolcompare