Monogame.Processing 0.3.0

dotnet add package Monogame.Processing --version 0.3.0
                    
NuGet\Install-Package Monogame.Processing -Version 0.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Monogame.Processing" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Monogame.Processing" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Monogame.Processing" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Monogame.Processing --version 0.3.0
                    
#r "nuget: Monogame.Processing, 0.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Monogame.Processing&version=0.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Monogame.Processing&version=0.3.0
                    
Install as a Cake Tool

Monogame.Processing

A library that implements Processing Language functions for 2D graphics on Monogame

<a href="https://www.nuget.org/packages/Monogame.Processing/"><img alt="Nuget (with prereleases)" src="https://img.shields.io/nuget/vpre/Monogame.Processing?color=blue&label=NuGet&logo=nuget&style=flat-square"></a> </br> <a href="https://www.nuget.org/packages/Monogame.Processing/"><img alt="Nuget" src="https://img.shields.io/nuget/dt/Monogame.Processing?color=darkblue&label=Downloads&style=flat-square"></a>

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();
}

Implementation Notes

  • 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

Contributing

Feel encouraged to contribute to Monogame.Processing. Create your own fork, make the desired changes, commit, and make a pull request.

License

MonoGame.Processing is released under the The MIT License (MIT).

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 39 7/9/2025
0.2.9 51 7/8/2025
0.2.8 725 7/14/2020
0.2.7 550 7/14/2020
0.2.6 512 7/13/2020
0.2.5 530 7/8/2020
0.2.4 461 7/1/2020
0.2.3 558 6/27/2020
0.2.2 520 6/27/2020
0.2.1 598 6/26/2020
0.2.0 526 6/26/2020
0.1.0 590 6/26/2020

Update to .Net 8.0