Coder Social home page Coder Social logo

ace-dent / 8x8.me Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 1.0 1.18 MB

Monotone, 8×8px fill patterns

License: Creative Commons Zero v1.0 Universal

Shell 2.62% Lua 43.16% C++ 36.03% Python 18.19%
1-bit arduboy arduino bitsy game-development graphics monotone patterns pico-8 picotron pixel-art pixels playdate thumby

8x8.me's People

Contributors

ace-dent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

errorcalc

8x8.me's Issues

Sharing for Playdate SDK

The most succinct format is 0x hex representation as mentioned in the docs.

But I use a more obvious and "readable" binary specification, as follows:

-- binary string to number
local function b(e)
    return tonumber(e, 2)
end

pattern = {	--  diagonal lines
    b('11110000'),
    b('11100001'),
    b('11000011'),
    b('10000111'),
    b('00001111'),
    b('00011110'),
    b('00111100'),
    b('01111000'),
}

Thoughts, process, submissions, etc.

Feel free to move this to a Discussion

I'm happy to submit my pattern collection.

  • Will have to dig for old screens, because they have been decomposed into just the 8x8 patterns, with no references as to where they came from.
    I decided to capture most of them again as I had kept all the apps installed.

  • I have a script that sorts them by brightness, and I keep only those with brightness between 128 and 255, as the lower half of the range can be filled with inverted patterns.

  • I store them as pgm text based image format, which makes processing them easier and makes removing duplicates much easier as there is no need to deal with differences in image compression, colour depth, etc.

159_04

159_04.pgm

P2
8 8
255
0 0 255 255 255 255 255 0 
0 255 255 255 255 255 0 0 
255 255 255 255 255 0 0 0 
255 255 255 255 0 0 0 255 
255 255 255 0 0 0 255 255 
255 255 0 0 0 255 255 255 
255 0 0 0 255 255 255 255 
0 0 0 255 255 255 255 255 
  • I'm still figuring out a way to deal with patterns that are the same but offset. Maybe there's a rule that can be introduced to unify the offset?

  • I use Piskel to split an image/screengrab into tiles, at which point it can save them as a handy zip. Let me know if you want more info!

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.