Giter Club home page Giter Club logo

drawme's Introduction

Draw me

Author:

Gabri Botha

Date:

14 August 2020

Purpose:

To draw stuff using python3 / Pillow / PyGame.

Low level application to allow drawing stuff to any available display. Should be able to work without X-org / X11.

Thus this code should be able to:

  • Determine what displays are available
  • Select available display if any are found
  • Initialize new display if none are found
  • If unable to initialize a display:
    • Switch to virtual display mode / framebuffer
    • Determine what virtual displays are available
    • Select available virtual display if any are found
    • Initialize new virtual framebuffer if none are found
    • if unable to find or create virtual display:
      • fail gracefully
      • Offer helpfull advise, e.g. apt install -y Xvfb
  • store reference to display as a handle
  • Offer a menu of options, e.g.:
    • Game
      • Instructions
      • New
      • Load
      • Options
        • Difficult
        • Keys
        • Back
      • Back
    • Screen Saver
      • Instructions
      • Start Random
      • List Screen Savers
      • Options
      • Back
    • Pixel Test
      • Instructions
      • Start
      • Back
    • Info
      • Display
      • System
      • Back
    • Options
      • Display
      • System
      • Back
    • Credits
      • Start
      • Back
    • Exit
      • Are you sure? (Y/n)
        • Y
        • N

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.