2 releases

new 0.1.1 Apr 29, 2024
0.1.0 Apr 21, 2024

#204 in Emulators

Download history 169/week @ 2024-04-17 105/week @ 2024-04-24

274 downloads per month

MIT license

14KB
326 lines

Osiris/Display

Work in progress.

Provides a display layer for an Osiris machine.

This crate provides :

  • Base types to manipulate displays :
    • A Pixel struct which represents an ARGB value on 16 bits (4 bits per color with a 4 bits alpha channel),
    • A Image struct which represents a surface which is drawable and on which we can draw,
    • A Sprite struct which is an Image which can move on a screen, and,
  • And more evolved utilities :
    • A Screen struct and a ScreenMemory which can be displayed or drawn on,
    • A CachedSprite struct for sprites managed by :
    • The Gpu, which is a facade to operate images in an Osiris machine.

License

Dependencies

~86KB