eritbh / comment-face-generator Goto Github PK
View Code? Open in Web Editor NEWAn Electron application to generate spritesheets and CSS for Reddit comment faces, partly an excuse to learn Electron and partly because the /r/anime mods are lazy.
An Electron application to generate spritesheets and CSS for Reddit comment faces, partly an excuse to learn Electron and partly because the /r/anime mods are lazy.
This would be super useful but might also be hard since you'd have to compress everything first and by then it's not very useful.
Especially for image operations, async really needs to be a thing.
The "Project Settings" pane should be populated with options that allow you to set what format ([](#face)
or [](/face)
) to use, as well as some other generator options for the output CSS.
This will involve adding properties to the project that will store the last output, and operations that modify the output should reset this. If the old output is present, the output tab should display that; otherwise, it will regenerate it.
Implement a checkbox system that allows you to perform actions in bulk. See: Toolbox's queue tools setup.
Apparently that's not being stored correctly.
This should include the base code to make the faces themselves work, as in #4.
When resizing all faces, eliminate this variable in the process. At output generation time, iterate through the faces and use the arithmetic mode of each respective dimension as the default.
The current behavior can result in some weird generations if you have faces that are different.
Currently, the spritesheet is generated from the top to the bottom, and the background-position
value of each face is negative, growing smaller as the faces go down the list. We should invert this so the first spritesheet is at the bottom, that way the CSS values can all be positive, starting at the height of the first face.
Might actually be a good idea to have a project setting for this once that gets going.
Currently, the base code for spritesheets (display:inline-block
and the other stuff for text on the face) is not included in the spritesheet. That should be included to make things easier.
Should also be a project setting (or multiple) to modify how this is generated - enable/disable text, etc
Wen not overflowing, the scroll areas shrink a bit. See change 6719d6e
.-.
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.