+ « Node Punks +
+ + +Yes, you can!
+Build your own originals that you
+own 100% forever.
+Questions? Comments?
+Join us in the Ordbase discord (chat server).
+
+
+Looking for monkes?
+See Monke (28×28) Wizard »
+
+
+
+ 10x (240×240px) + + + 4x (96×96px) + + + 1x (24×24px) + + + |
+ + + +<%= render_options( PUNK ) %> + + | +
+ Open source public domain. + No rights reserved. + See + /nodepunks/builder » +
+ + + diff --git a/builder/punk.rb b/builder/punk.rb new file mode 100644 index 0000000..cb28d23 --- /dev/null +++ b/builder/punk.rb @@ -0,0 +1,178 @@ + +PUNK = { + t: { + legend: 'Select a punk (archetype or readymade)', + options: [ + 'dark', + 'light', + 'albino', + 'orange', + 'pink', + 'zombie', + 'orc', + 'alien', + 'black', + 'ape', + 'ape golden', + 'joe', + 'donald', + ] + }, + + hair: { + legend: 'Select hair', + none: true, + options: [ + 'mohawk blonde', + 'mohawk purple', + 'mohawk red', + 'mohawk', + 'mohawk 2blonde', + 'mohawk 2 purple', + 'mohawk 2 red', + 'mohawk 2', + 'peakspike blonde', + 'peakspike', + 'wildhair blonde', + 'wildhair purple', + 'wildhair red', + 'bob', + 'bob blonde', + 'bob 2 blonde', + 'bob 2 pink', + 'long hair', + 'long hair blonde', + 'long hair pink', + ], + }, + + eyes: { + legend: 'Select eyewear', + none: true, + options: [ + '3d glasses', + 'big shades', + 'small shades', + 'regular shades', + 'modern shades', + 'horned rim glasses', + 'nerd glasses', + 'classic shades', + 'clown eyes', + 'clown eyes blue', + 'cool shades', + 'eyemask', + 'eyepatch', + 'polarized shades', + 'vr', + 'lasereyes 3 red', + 'lasereyes 3 green', + 'lasereyes 3 blue', + 'lasereyes 3 gold', + ], + }, + beard: { + legend: 'Select beard', + none: true, + options: [ + 'beard', + 'beard light', + 'luxurious beard', + 'luxurious beard light', + 'chinstrap', + 'chinstrap light', + 'goat', + ], + }, + + nose: { + legend: 'Select nose accessory', + none: true, + options: [ + 'clown nose', + ], + }, + + blemish: { + legend: 'Select blemish', + none: true, + options: [ + 'mole', + ], + }, + + lipstick: { + legend: 'Select lipstick make-up', + none: true, + options: [ + 'purple lipstick', + ], + }, + + mouthprop: { + legend: 'Select mouth prop', + none: true, + options: [ + 'bubblegum', + 'pipe', + 'vape', + 'cigarette', + 'medical mask', + ], + }, + + earring: { + legend: 'Select earring', + none: true, + options: [ + 'earring', + ], + }, + neck: { + legend: 'Select neck accessory', + none: true, + options: [ + 'gold chain', + ], + }, + + headwear: { + legend: 'Select headwear (or hoodie)', + none: true, + options: [ + 'bandana', + 'bandana 2', + 'bandana 3', + 'beanie', + 'cap mcb', + 'cap mcd', + 'cap small', + 'cap', + 'cap blue', + 'cap red', + 'cap forward', + 'police cap', + 'cowboy hat', + 'crown', + 'french cap', + 'headband', + 'headband ii', + 'headband 2', + 'headphone', + 'headphone 2', + 'jester hat', + 'knitted cap', + 'fedora', + 'classic hat', + 'top hat', + 'wizard hat', + 'do-rag', + 'do-rag blue', + 'do-rag red', + 'hoodie', + 'hoodie dark', + 'hoodie light', + ] + }, +} + diff --git a/builder/render.rb b/builder/render.rb new file mode 100644 index 0000000..a99e68b --- /dev/null +++ b/builder/render.rb @@ -0,0 +1,27 @@ +require 'cocos' +require 'erb' + +require_relative 'punk' +require_relative 'helper' + + + +puts "punk config:" +pp PUNK + + + +html = read_text( "./punk.html.erb" ) +puts html + +tmpl = ERB.new( html ) +buf = tmpl.result + +puts +puts "---" +puts buf + + +write_text( "./tmp/index.html", buf ) + +puts "bye" diff --git a/docs/build/index.html b/docs/build/index.html new file mode 100644 index 0000000..81b831f --- /dev/null +++ b/docs/build/index.html @@ -0,0 +1,830 @@ + + + + + + + + + ++ « Node Punks +
+ + +Yes, you can!
+Build your own originals that you
+own 100% forever.
+Questions? Comments?
+Join us in the Ordbase discord (chat server).
+
+
+Looking for monkes?
+See Monke (28×28) Wizard »
+
+
+
+ 10x (240×240px) + + + 4x (96×96px) + + + 1x (24×24px) + + + |
+ + + + + + + + + + + + + + + + + | +
+ Open source public domain. + No rights reserved. + See + /nodepunks/builder » +
+ + + diff --git a/docs/build/spritesheet.png b/docs/build/spritesheet.png new file mode 100644 index 0000000..2999146 Binary files /dev/null and b/docs/build/spritesheet.png differ