-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
189 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
# 7 Quick & Easy Hairstyles with Simple Instructions to Do in a Few Minutes - Trendy Ideas for Punkettes to Try in 2021 - Is Orange the New Black? | ||
|
||
|
||
|
||
Let's try out some hair dos and colors. | ||
What's trendy in 2021? | ||
|
||
Step 0: Let's start with a (bold) female human punk archetype, that is, a "plain vanilla" zero-attributes design: | ||
|
||
|
||
``` ruby | ||
require 'cryptopunks' | ||
|
||
|
||
punkette_design =<<TXT | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . @ @ @ @ @ @ . . . . . . . . . | ||
. . . . . . . . @ ^ ^ ^ ^ ^ ^ @ . . . . . . . . | ||
. . . . . . . @ ^ ~ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . @ ^ ^ x x ^ ^ ^ x x @ . . . . . . . | ||
. . . . . . @ ^ ^ @ o ^ ^ ^ @ o @ . . . . . . . | ||
. . . . . . @ @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ @ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ % % % ^ ^ @ . . . . . . . | ||
. . . . . . . . @ ^ ^ ^ ^ ^ ^ @ . . . . . . . . | ||
. . . . . . . . @ ^ @ ^ ^ ^ @ . . . . . . . . . | ||
. . . . . . . . @ ^ ^ @ @ @ . . . . . . . . . . | ||
. . . . . . . . @ ^ ^ ^ @ . . . . . . . . . . . | ||
. . . . . . . . @ ^ ^ ^ @ . . . . . . . . . . . | ||
TXT | ||
|
||
HUMAN_COLORS_LIGHT = ['000000','a66e2c','d29d60','dbb180','e7cba9','711010'] | ||
|
||
punkette = Image.parse( punkette_design, colors: HUMAN_COLORS_LIGHT ) | ||
|
||
punkette.save( 'punkette_light.png' ) | ||
punkette.zoom(4).save( 'punkette_light.png' ) | ||
``` | ||
|
||
|
||
 | ||
 | ||
|
||
|
||
|
||
Hairtime! Let's add a hair style. | ||
Let's start with the side hair style in orange (that's the only | ||
hair color in the original Lavra Lab series from 2017 with a side hair style do): | ||
|
||
|
||
``` ruby | ||
sidehair_design = <<TXT | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . @ @ @ @ . . . . . . . . . . | ||
. . . . . . . . @ @ @ @ @ @ @ @ . . . . . . . . | ||
. . . . . . . @ @ @ @ @ @ @ @ @ @ . . . . . . . | ||
. . . . . . . @ @ @ @ @ @ @ @ @ @ . . . . . . . | ||
. . . . . . . @ @ . . . . @ . @ @ @ . . . . . . | ||
. . . . . . @ @ . . . . . . . . @ @ . . . . . . | ||
. . . . . . @ @ . . . . . . . . @ @ . . . . . . | ||
. . . . . . @ . . . . . . . . . @ @ . . . . . . | ||
. . . . . . @ . . . . . . . . . @ @ . . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . @ @ @ @ . . . . . | ||
. . . . . . . . . . . . . . @ @ @ @ @ . . . . . | ||
. . . . . . . . . . . . . . @ @ @ . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
TXT | ||
|
||
ORANGE = 'e65700' | ||
|
||
sidehair = Image.parse( sidehair_design, colors: [ORANGE] ) | ||
sidehair.save( 'sidehair_orange.png' ) | ||
sidehair.zoom(4).save('sidehair_orangex4.png') | ||
``` | ||
|
||
 | ||
 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
### | ||
# to run use: | ||
# ruby ./hair.rb | ||
|
||
|
||
require 'cryptopunks' | ||
|
||
|
||
punkette_design =<<TXT | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . @ @ @ @ @ @ . . . . . . . . . | ||
. . . . . . . . @ ^ ^ ^ ^ ^ ^ @ . . . . . . . . | ||
. . . . . . . @ ^ ~ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . @ ^ ^ x x ^ ^ ^ x x @ . . . . . . . | ||
. . . . . . @ ^ ^ @ o ^ ^ ^ @ o @ . . . . . . . | ||
. . . . . . @ @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ @ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ ^ ^ ^ ^ ^ @ . . . . . . . | ||
. . . . . . . @ ^ ^ ^ % % % ^ ^ @ . . . . . . . | ||
. . . . . . . . @ ^ ^ ^ ^ ^ ^ @ . . . . . . . . | ||
. . . . . . . . @ ^ @ ^ ^ ^ @ . . . . . . . . . | ||
. . . . . . . . @ ^ ^ @ @ @ . . . . . . . . . . | ||
. . . . . . . . @ ^ ^ ^ @ . . . . . . . . . . . | ||
. . . . . . . . @ ^ ^ ^ @ . . . . . . . . . . . | ||
TXT | ||
|
||
HUMAN_COLORS_LIGHT = ['000000','a66e2c','d29d60','dbb180','e7cba9','711010'] | ||
|
||
punkette = Image.parse( punkette_design, colors: HUMAN_COLORS_LIGHT ) | ||
|
||
punkette.save( './i/punkette_light.png' ) | ||
punkette.zoom(4).save( './i/punkette_light.png' ) | ||
|
||
|
||
sidehair_design = <<TXT | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
. . . . . . . . . . @ @ @ @ . . . . . . . . . . | ||
. . . . . . . . @ @ @ @ @ @ @ @ . . . . . . . . | ||
. . . . . . . @ @ @ @ @ @ @ @ @ @ . . . . . . . | ||
. . . . . . . @ @ @ @ @ @ @ @ @ @ . . . . . . . | ||
. . . . . . . @ @ . . . . @ . @ @ @ . . . . . . | ||
. . . . . . @ @ . . . . . . . . @ @ . . . . . . | ||
. . . . . . @ @ . . . . . . . . @ @ . . . . . . | ||
. . . . . . @ . . . . . . . . . @ @ . . . . . . | ||
. . . . . . @ . . . . . . . . . @ @ . . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . . @ @ @ . . . . . | ||
. . . . . . . . . . . . . . . @ @ @ @ . . . . . | ||
. . . . . . . . . . . . . . @ @ @ @ @ . . . . . | ||
. . . . . . . . . . . . . . @ @ @ . . . . . . . | ||
. . . . . . . . . . . . . . . . . . . . . . . . | ||
TXT | ||
|
||
ORANGE = 'e65700' | ||
|
||
sidehair = Image.parse( sidehair_design, colors: [ORANGE] ) | ||
sidehair.save( './i/sidehair_orange.png' ) | ||
sidehair.zoom(4).save('./i/sidehair_orangex4.png') | ||
|
||
|
||
|
||
|
||
puts "bye" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.