# Programming CryptoPunks & Copypastas with Ruby - Step-by-Step Booklet / Guide

**URL:** <https://rubytalk.org/t/programming-cryptopunks-copypastas-with-ruby-step-by-step-booklet-guide/75436>\
**Category:** ruby-talk\
**Created:** [25 February 2021 13:22 UTC](https://rubytalk.org/t/programming-cryptopunks-copypastas-with-ruby-step-by-step-booklet-guide/75436 "2021-02-25T13:22:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerald\_Bauer1](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/gerald_bauer1/32/1852_2.png) [@Gerald\_Bauer1](https://rubytalk.org/u/Gerald_Bauer1)\
**Post date:** [25 February 2021 13:22 UTC](https://rubytalk.org/t/programming-cryptopunks-copypastas-with-ruby-step-by-step-booklet-guide/75436/1 "2021-02-25T13:22:32Z")

</div>

Hello,

&nbsp;&nbsp;I have started with a new (free online) booklet in the crypto  
collectible series titled  
&nbsp;&nbsp;Programming CryptoPunks & Copypastas Step-by-Step Book / Guide -  
&nbsp;&nbsp;Inside Unique Pixel Art on the Blockchain... [1]

&nbsp;&nbsp;The first two chapters so far:

- Mint Your Own Punks in Original 24x24 Pixel Format or With 2X / 4X / 8X Zoom  
- Statistics, Statistics, Statistics - Calculate Rarity & Popularity  
By Type, By Accessories, & More - Inside the 10 000 Punk Population

&nbsp;&nbsp;Cheers. Prost.

[1] [GitHub - cryptopunksnotdead/programming-cryptopunks: Crypto Collectibles Series. Programming CryptoPunks & Copypastas Step-by-Step Book / Guide. Inside Unique Pixel Art on the Blockchain...](https://github.com/cryptopunksnotdead/programming-cryptopunks)

---

<div class="post-metadata">

**Author:** ![Gerald\_Bauer1](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/gerald_bauer1/32/1852_2.png) [@Gerald\_Bauer1](https://rubytalk.org/u/Gerald_Bauer1)\
**Post date:** [1 March 2021 12:02 UTC](https://rubytalk.org/t/programming-cryptopunks-copypastas-with-ruby-step-by-step-booklet-guide/75436/2 "2021-03-01T12:02:59Z")

</div>

Hello,

&nbsp;&nbsp;&nbsp;I added a new chapter titled:

Inside the Punk Art Machinery - How To Generate 10 000 Punks (and  
Punkettes), Algorithmically - Paint by Numbers [1]

&nbsp;&nbsp;&nbsp;It reads:

&nbsp;&nbsp;&nbsp;&nbsp;Let's code the artist known as generate\_punk - a method that  
returns a (ready-to-save) punk image from the attribute parts coded as  
numbers starting at 1. If the code is 0 then the (optional) part gets  
skipped:

&nbsp;&nbsp;&nbsp;&nbsp;codes = [2, 2, 2, 3, 1, 0, 10, 1]  
&nbsp;&nbsp;&nbsp;&nbsp;punk = generate\_punk( codes )  
&nbsp;&nbsp;&nbsp;punk.save( './punk-0000.png' )

&nbsp;&nbsp;And here's the magic paint by number art machinery...

&nbsp;&nbsp;&nbsp;Cheers. Prost.

[1] [programming-cryptopunks/03\_generate.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/03_generate.md)

---

<div class="post-metadata">

**Author:** ![Gerald\_Bauer1](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/gerald_bauer1/32/1852_2.png) [@Gerald\_Bauer1](https://rubytalk.org/u/Gerald_Bauer1)\
**Post date:** [18 April 2021 14:03 UTC](https://rubytalk.org/t/programming-cryptopunks-copypastas-with-ruby-step-by-step-booklet-guide/75436/3 "2021-04-18T14:03:49Z")

</div>

Hello,

&nbsp;&nbsp;&nbsp;I've added / written-up three new chapters in the Programming  
CryptoPunks & Copypastas Pixel Art with Ruby book(let):

&nbsp;&nbsp;Chapter 3:  
10 000 More Punks - Inside the Punk Art Machinery (Continued) -  
How To Generate Punks, Algorithmically - Paint by Numbers - A New Punk Series

Chapter 4:  
Nine Super Rare Aliens (in Cyan)? Start the Alien Invasion from Mars -  
Mint Little 24×24 Extraterrestrials (E.T.s) in Green, Chartreuse,  
Yellow, Orange, Red, Fuchsia, or Magenta

Chapter 5:  
Free Downloads - Christie's Nine Colored in Black 'n' White, Ye Olde'  
Sepia Tone, Blue  
or Futuristic False 8-Bit Color Palette - Right-Click and Save Image

&nbsp;&nbsp;Happy minting and coloring pixel art punks in ruby.

&nbsp;&nbsp;&nbsp;Cheers. Prost.

[1] [programming-cryptopunks/04\_generate\_ii.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/04_generate_ii.md)  
[2] [programming-cryptopunks/05\_alien\_invasion.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/05_alien_invasion.md)  
[3] [programming-cryptopunks/06\_palette\_8bit.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/06_palette_8bit.md)

---

<div class="post-metadata">

**Author:** ![Gerald\_Bauer1](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/gerald_bauer1/32/1852_2.png) [@Gerald\_Bauer1](https://rubytalk.org/u/Gerald_Bauer1)\
**Post date:** [14 May 2021 13:52 UTC](https://rubytalk.org/t/programming-cryptopunks-copypastas-with-ruby-step-by-step-booklet-guide/75436/4 "2021-05-14T13:52:34Z")

</div>

Hello,

&nbsp;&nbsp;&nbsp;I've added / written-up two new chapters in the Programming  
CryptoPunks & Copypastas Pixel Art with Ruby book(let):

&nbsp;&nbsp;&nbsp;Chapter 7: United Colors of Humanity - Light, Lighter, Dark, Darker  
- How To Change Skin Tones [1a]

&nbsp;&nbsp;&nbsp;Chapter 8: Revolutionize the Digital Art Market - Fractionalize The  
World's First Billion Dollar Pixel Image -  
&nbsp;&nbsp;Build Your Own All-In-One Punk Composites - Curate Your Own  
Exclusive Collections Ready to Sell Off to New Owners [1b]

&nbsp;&nbsp;&nbsp;Happy minting and pixel pushing in ruby.

&nbsp;&nbsp;&nbsp;Cheers. Prost.

PS: Did you know? There's now a new CryptoPunksDev Channel - All  
About Programming 24x24 Pixel Art  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Portraits / Avatars (Yes, In Ruby) - Join Us [2]

[1a] [programming-cryptopunks/07\_humans.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/07_humans.md)  
[1b] [programming-cryptopunks/08\_composite.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/08_composite.md)  
[2] [https://old.reddit.com/r/CryptoPunksDev](https://old.reddit.com/r/CryptoPunksDev)

---

<div class="post-metadata">

**Author:** ![Gerald\_Bauer1](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/gerald_bauer1/32/1852_2.png) [@Gerald\_Bauer1](https://rubytalk.org/u/Gerald_Bauer1)\
**Post date:** [17 May 2021 13:47 UTC](https://rubytalk.org/t/programming-cryptopunks-copypastas-with-ruby-step-by-step-booklet-guide/75436/5 "2021-05-17T13:47:40Z")

</div>

Hello,

&nbsp;&nbsp;&nbsp;Believe it or not - I've added / written-up two more chapters in  
the Programming  
CryptoPunks & Copypastas Pixel Art with Ruby book(let):

&nbsp;&nbsp;&nbsp;Chapter 9: Inside the $7.5 Million "Mr Mona Lisa" Punk -  
Deconstructing the 24x24 Pixel Art and Reconstructing with a Smile  
in a "Mr & Mrs Mona Lisa" Left and Right Edition [1a]

&nbsp;&nbsp;&nbsp;Chapter 10: 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? [1b]

&nbsp;&nbsp;&nbsp;Happy hair styling and pixel pushing in ruby.

&nbsp;&nbsp;&nbsp;Cheers. Prost.

[1a] [programming-cryptopunks/09\_monalisa.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/09_monalisa.md)  
[1b] [programming-cryptopunks/10\_hair.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/10_hair.md)

---

<div class="post-metadata">

**Author:** ![botp1](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@botp1](https://rubytalk.org/u/botp1)\
**Post date:** [17 May 2021 16:19 UTC](https://rubytalk.org/t/programming-cryptopunks-copypastas-with-ruby-step-by-step-booklet-guide/75436/6 "2021-05-17T16:19:26Z")

</div>

info only.  
you first link [1a] fails. it seems that an extra '%5B1b' was appended on  
the url?

kind regards --botp

> **···**
>
> On Mon, May 17, 2021 at 9:48 PM Gerald Bauer \<gerald.bauer@gmail.com\> wrote:
> 
> > Hello,
> > 
> > &nbsp;&nbsp;&nbsp;Believe it or not - I've added / written-up two more chapters in  
> > the Programming  
> > CryptoPunks & Copypastas Pixel Art with Ruby book(let):
> > 
> > &nbsp;&nbsp;&nbsp;Chapter 9: Inside the $7.5 Million "Mr Mona Lisa" Punk -  
> > Deconstructing the 24x24 Pixel Art and Reconstructing with a Smile  
> > in a "Mr & Mrs Mona Lisa" Left and Right Edition [1a]
> > 
> > &nbsp;&nbsp;&nbsp;Chapter 10: 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? [1b]
> > 
> > &nbsp;&nbsp;&nbsp;Happy hair styling and pixel pushing in ruby.
> > 
> > &nbsp;&nbsp;&nbsp;Cheers. Prost.
> > 
> > [1a]  
> > [programming-cryptopunks/09\_monalisa.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/09_monalisa.md)  
> > [1b  
> > \<[https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/09\_monalisa.md[1b&gt;\](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/09_monalisa.md%5B1b&gt;%5C)]
> > 
> > [programming-cryptopunks/10\_hair.md at master · cryptopunksnotdead/programming-cryptopunks · GitHub](https://github.com/cryptopunksnotdead/programming-cryptopunks/blob/master/10_hair.md)
> > 
> > Unsubscribe: \<mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe\>  
> > \<[http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt](http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt);

---

<div class="post-metadata">

**Author:** ![Gerald\_Bauer1](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/gerald_bauer1/32/1852_2.png) [@Gerald\_Bauer1](https://rubytalk.org/u/Gerald_Bauer1)\
**Post date:** [18 May 2021 07:08 UTC](https://rubytalk.org/t/programming-cryptopunks-copypastas-with-ruby-step-by-step-booklet-guide/75436/7 "2021-05-18T07:08:52Z")

</div>

Hello,

> it seems that an extra '%5B1b' was appended on the url?

&nbsp;&nbsp;&nbsp;Thanks for the errata. Sorry - I mostly use an online email program  
(and the no text formatting is always checked) but somehow some links  
still get messed up - not sure what I can do. Cheers. Prost.

&nbsp;&nbsp;&nbsp;PS: You can find all chapters of the book @

> **[GitHub - cryptopunksnotdead/programming-cryptopunks: Crypto Collectibles...](https://github.com/cryptopunksnotdead/programming-cryptopunks)**
>
> Crypto Collectibles Book(let) Series. Programming (Crypto) Pixel Punk Profile Pictures & (Generative) Art - Step-by-Step Book / Guide. Inside Unique 24×24 Pixel Art on the Blockchain... - GitHu...

&nbsp;&nbsp;&nbsp;&nbsp;and the ruby gem (sources) @

> **[GitHub - cryptopunksnotdead/cryptopunks: (crypto) pixel punks - libraries,...](https://github.com/cryptopunksnotdead/cryptopunks)**
>
> (crypto) pixel punks - libraries, tools & scripts, and more - GitHub - cryptopunksnotdead/cryptopunks: (crypto) pixel punks - libraries, tools & scripts, and more
