Show HN: Patternify, a CSS Pattern Generator
patternify.com
patternify.com
Thanks for making it! I'm generating a pattern for my startup right now.
When you click on a blank pixel, fill it with color. As long as the mouse is held down, you're "drawing" and moving it to other blank pixels should color them as well.
Likewise, when you click on a colored pixel, erase it and stay in "erase" mode as long as the mouse button is held down.
Saves a lot of clicking, I think!
I've found one fun way to generate patterns (for websites, for example)is to use Colourlovers ( http://www.colourlovers.com/patterns/most-loved/all-time/met... ) - you get access to both great colo(u)r palettes and also some nice patterns. There are also awful patterns, but I just ignore those. Finally, there's a great pattern editor, but it takes a bit of work to start creating good patterns with it.
If you export it as code, you can paste it in your CSS straight away. You don't even need an image file anymore!
Also, it would be easier to use if painting didn't use mouseup. Using mouseover+mousedown would be nice for dragging the mouse to paint.
Great feedback about the mousedown though, I'll have to add that to my list.
OTOH – an eraser tool is really just a toggle button, isn't it?
And the eraser tool would be easy to implement technically, but I'm just not sure yet it's the best solution, or where to put it.
I'll probably end up doing something like holding shift while clicking will erase the pixel.
You can share them too: http://bit.ly/bIkGnu
... what? Why is this not automatic?
(Oh, this is being generated client side maybe? thus it's a browser/html5 limitation I'm guessing?)