bananattack / fig Goto Github PK
View Code? Open in Web Editor NEWAn image and animation library written in C.
License: Other
An image and animation library written in C.
License: Other
The current LZW encoder is really slow for large GIF files right now, because for every pixel in the frame, it linearly searches the set of (prefix code, suffix char) pairs for an existing table entry that has prefix_codes[i] = old_code and suffix_chars[i] == pixel.
It could use some sort of hash-table or binary tree to speed up searching in the average case. Binary tree might be simpler to implement, since it's easier to figure out the insertion point than it is to write a good hash. And the linear case for a non-balanced binary tree is a bit simpler to write than writing probing / chaining for hash-table collisions.
Right now, the fig_image* type has an indexed representation (local palette, relative position/size) and a rendered canvas representation (BGRA, full-size).
Right now it's possible to render indexed images to canvas, but not the other way around.
It would be neat if there were tools for:
The existing programs are good test cases of the library, but they're better as internal tests than real applications.
Right now:
Stuff I'd like to try:
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.