ace-dent / 8x8.me Goto Github PK
View Code? Open in Web Editor NEWMonotone, 8×8px fill patterns
License: Creative Commons Zero v1.0 Universal
Monotone, 8×8px fill patterns
License: Creative Commons Zero v1.0 Universal
There may be more but I've not been able to find a download of version 1.7.x which added patterns.
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.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!
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'),
}
from http://cs.gettysburg.edu/~duncjo01/archive/patterns/macOS/macpaint/
original patterns are stored as a PAT# rsrc in the resource fork of MacPaint
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.