punk me
punkme gem - generate your own (pixel) punk characters / heads - using your own skintone, eye color, hair & hair color, and much more
Usage
Let's try purple punks...
require 'punkme'
PURPLE = '#AA4399'
punk = Punkme::Image.generate( skintone: PURPLE,
gender: 'm',
hair: 'mohawkbig' )
punk.save( "./purple.png")
punk.zoom(8).save( "./purple@8x.png")
punkb = punk.add( 'VR' )
punkb.save( "./purple-ii.png")
punkb.zoom(8).save( "./purple-ii@8x.png")
punk = Punkme::Image.generate( skintone: PURPLE,
gender: 'm',
hair: 'halfshaved' )
punk.save( "./tmp/purple2.png")
punk.zoom(8).save( "./tmp/purple2@8x.png")
punkb = punk.add( '3D Glasses' )
punkb.save( "./purple2-ii.png")
punkb.zoom(8).save( "./purple2-ii@8x.png")
resulting in
8x
Let's try deep pink "barbie" punk(ette)s...
DEEP_PINK = '#ff1493'
punk = Punkme::Image.generate( skintone: DEEP_PINK ,
gender: 'f',
hair: 'straight3',
hair_color: 'blonde' )
punk.save( "./pink.png")
punk.zoom(8).save( "./pink@8x.png")
punkb = punk.add( 'Big Shades' )
punkb.save( "./pink-ii.png")
punkb.zoom(8).save( "./pink-ii@8x.png")
punk = Punkme::Image.generate( skintone: DEEP_PINK ,
gender: 'f',
hair: 'side2',
hair_color: 'blonde' )
punk.save( "./pink2.png")
punk.zoom(8).save( "./pink2@8x.png")
punkb = punk.add( '3D Glasses' )
punkb.save( "./pink2-ii.png")
punkb.zoom(8).save( "./pink2-ii@8x.png")
resulting in
8x
Q: What hair styles (and colors) can I use?
For men's see the barbershop »
For women's see the hairsalon »
That's it.
License
The scripts are dedicated to the public domain.
Use it as you please with no restrictions whatsoever.
Join us in the Punk Art discord (chat server). Yes you can.
Your questions and commentary welcome.
Or post them over at the Help & Support page. Thanks.