A library that implements Processing Language functions for 2D graphics on Monogame
To create a new sketch, it is necessary to create a class that inherits Processing
public class Sketch : Processing
{
public override void Setup()
{
// setup() code goes here
}
public override void Draw()
{
// draw() code goes here
}
}
To run the sketch, it is necessary to use the Run method and the entry point of the program must have the attirbute STAThread
[STAThread]
static void Main()
{
using (var game = new Sketch()) game.Run();
}
- Most 2D Primitives are implemented, but the drawing functions need optimization for better performance.
- Some types as color, PImage and PVector are partially implemented.
- Many implemented functions were not tested, so bugs could occur.
For details, see the Wiki
Feel encouraged to contribute to Monogame.Processing. Create your own fork, make the desired changes, commit, and make a pull request.
MonoGame.Processing is released under the The MIT License (MIT).