Giter Club home page Giter Club logo

canon-r-lightpainting's People

Contributors

laszewsk avatar stretchyboy avatar

canon-r-lightpainting's Issues

Stick Object Definition

classDiagram
    Stick : +string name
    Stick : +int pixels
    Stick : +int maxColourDepth ??
    

    StickImage : +String filename
    StickImage : +String stickName
    StickImage : +String imageData
    
    StickImage : +isMammal()

    note for StickImage "https://pillow.readthedocs.io/en/stable/reference/PixelAccess.html"
    
    StickFrame : +String stickImageFilename
    StickFrame : +Int frameNumber
    StickFrame : -[PIL] data 
    StickFrame : +String type 
    StickFrame : +analyse()
    StickFrame : +compress()
    StickFrame : +getNextColumn()
    StickFrame : +save()
    StickFrame : +load()
    
    
    StickFrame24bit : 
    StickFrame24bit : +compress()
    StickFrame24bit : +getNextColumn()
    
    StickFrame16bit : 
    StickFrame16bit : +compress()
    StickFrame16bit : +getNextColumn()
    
    StickFrame8bit : 
    StickFrame8bit : +compress()
    StickFrame8bit : +getNextColumn()
    

    StickFrame1bit : 
    StickFrame1bit : +compress()
    StickFrame1bit : +getNextColumn()
    
    note for StickFrame1bit "Run Length Encoding\nhttps://tinyurl.com/2h54atwk"
    note for StickFrame "https://www.geeksforgeeks.org/use-yield-keyword-instead-return-keyword-python/"


    StickFramePalleted : +List~int~ pallete
    StickFramePalleted : +colourDepth
    StickFramePalleted : +compress()
    StickFramePalleted : +getNextColumn()
    

    StickFrame --|> StickFrame24bit
    StickFrame --|> StickFrame16bit
    StickFrame --|> StickFrame8bit
    StickFrame --|> StickFramePalleted
    StickFramePalleted --|> StickFrame1bit
    


    


    StickImage o-- StickFrame : 1\n*
    
    Stick <-- StickImage
    

Alternative compression if the current still is too big

Text file format where each line is the changes in a column (or the rle of the full column or the full column which ever is smaller). It has blank lines but the data it is holding in RAM is only ever 144B plus processing

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.