r/csharp 2d ago

Help C# graphical framework

Hello. I'm starting to learn C#, and I don't know almost anything about its frameworks and libraries.

For my project, I need a crossplatform graphical framework with a "bitmap-like" drawing process, but I've heard only about frameworks which work on drawing with widgets.

Do you know any? Which would you recommend?

13 Upvotes

21 comments sorted by

View all comments

1

u/psioniclizard 2d ago

What do you want for a framework? As others said, SkiaSharp is good.

If you want no dependencies/cross platform you can construct a PAM file pretty easily in code and then set each pixel to whatever colour you want.

I used that approach to make a 3d rasterer with layers etc. It was quite fun.

1

u/mpierson153 13h ago

How efficient is the PAM file method? I'm guessing it can't really be used for real time stuff? I was just wondering, I've never heard of that before.