|
|
|
|
|
by Jare
3327 days ago
|
|
For simple pixel access and no primitives, https://github.com/emoon/rust_minifb is very compact and neat. Otherwise rust-sdl2 is batteries included, there may be more ceremony than html5 canvas but it's easy to hide behind a simple interface. It has many simple examples. But, like with C++, as long as the language doesn't come with a standard graphics library, I doubt the "official" books can really use graphics apps as a learning tool. |
|
The MiniFB code does seem to be a good starting point for this sort of thing.