Add cats.
BIN
robohash/sets/set4/000#00body/000#body0.png
Normal file
After Width: | Height: | Size: 292 KiB |
BIN
robohash/sets/set4/000#00body/001#body1.png
Normal file
After Width: | Height: | Size: 535 KiB |
BIN
robohash/sets/set4/000#00body/002#body2.png
Normal file
After Width: | Height: | Size: 254 KiB |
BIN
robohash/sets/set4/000#00body/003#body3.png
Normal file
After Width: | Height: | Size: 317 KiB |
BIN
robohash/sets/set4/000#00body/004#body4.png
Normal file
After Width: | Height: | Size: 305 KiB |
BIN
robohash/sets/set4/000#00body/005#body5.png
Normal file
After Width: | Height: | Size: 359 KiB |
BIN
robohash/sets/set4/000#00body/006#body6.png
Normal file
After Width: | Height: | Size: 294 KiB |
BIN
robohash/sets/set4/000#00body/007#body7.png
Normal file
After Width: | Height: | Size: 303 KiB |
BIN
robohash/sets/set4/000#00body/008#body8.png
Normal file
After Width: | Height: | Size: 313 KiB |
BIN
robohash/sets/set4/000#00body/009#body9.png
Normal file
After Width: | Height: | Size: 394 KiB |
BIN
robohash/sets/set4/000#00body/010#body10.png
Normal file
After Width: | Height: | Size: 381 KiB |
BIN
robohash/sets/set4/000#00body/011#body11.png
Normal file
After Width: | Height: | Size: 280 KiB |
BIN
robohash/sets/set4/000#00body/012#body12.png
Normal file
After Width: | Height: | Size: 562 KiB |
BIN
robohash/sets/set4/000#00body/013#body13.png
Normal file
After Width: | Height: | Size: 298 KiB |
BIN
robohash/sets/set4/000#00body/014#body14.png
Normal file
After Width: | Height: | Size: 294 KiB |
BIN
robohash/sets/set4/001#01fur/000#fur0.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
robohash/sets/set4/001#01fur/001#fur1.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
robohash/sets/set4/001#01fur/002#fur2.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
robohash/sets/set4/001#01fur/003#fur3.png
Normal file
After Width: | Height: | Size: 180 KiB |
BIN
robohash/sets/set4/001#01fur/004#fur4.png
Normal file
After Width: | Height: | Size: 127 KiB |
BIN
robohash/sets/set4/001#01fur/005#fur5.png
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
robohash/sets/set4/001#01fur/006#fur6.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
robohash/sets/set4/001#01fur/007#fur7.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
robohash/sets/set4/001#01fur/008#fur8.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
robohash/sets/set4/001#01fur/009#fur9.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
robohash/sets/set4/002#02eyes/000#eyes0.png
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
robohash/sets/set4/002#02eyes/001#eyes1.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
robohash/sets/set4/002#02eyes/002#eyes2.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
robohash/sets/set4/002#02eyes/003#eyes3.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
robohash/sets/set4/002#02eyes/004#eyes4.png
Normal file
After Width: | Height: | Size: 99 KiB |
BIN
robohash/sets/set4/002#02eyes/005#eyes5.png
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
robohash/sets/set4/002#02eyes/006#eyes6.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
robohash/sets/set4/002#02eyes/007#eyes7.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
robohash/sets/set4/002#02eyes/008#eyes8.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
robohash/sets/set4/002#02eyes/009#eyes9.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
robohash/sets/set4/002#02eyes/010#eyes10.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
robohash/sets/set4/002#02eyes/011#eyes11.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
robohash/sets/set4/002#02eyes/012#eyes12.png
Normal file
After Width: | Height: | Size: 117 KiB |
BIN
robohash/sets/set4/002#02eyes/013#eyes13.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
robohash/sets/set4/002#02eyes/014#eyes14.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
robohash/sets/set4/003#03mouth/000#mouth0.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
robohash/sets/set4/003#03mouth/001#mouth1.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
robohash/sets/set4/003#03mouth/002#mouth2.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
robohash/sets/set4/003#03mouth/003#mouth3.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
robohash/sets/set4/003#03mouth/004#mouth4.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
robohash/sets/set4/003#03mouth/005#mouth5.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
robohash/sets/set4/003#03mouth/006#mouth6.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
robohash/sets/set4/003#03mouth/007#mouth7.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
robohash/sets/set4/003#03mouth/008#mouth8.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
robohash/sets/set4/003#03mouth/009#mouth9.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
robohash/sets/set4/004#04accessories/000#accessory0.png
Normal file
After Width: | Height: | Size: 166 KiB |
BIN
robohash/sets/set4/004#04accessories/001#accessory1.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
robohash/sets/set4/004#04accessories/002#accessory2.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
robohash/sets/set4/004#04accessories/003#accessory3.png
Normal file
After Width: | Height: | Size: 130 KiB |
BIN
robohash/sets/set4/004#04accessories/004#accessory4.png
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
robohash/sets/set4/004#04accessories/005#accessory5.png
Normal file
After Width: | Height: | Size: 101 KiB |
BIN
robohash/sets/set4/004#04accessories/006#accessory6.png
Normal file
After Width: | Height: | Size: 171 KiB |
BIN
robohash/sets/set4/004#04accessories/007#accessory7.png
Normal file
After Width: | Height: | Size: 137 KiB |
BIN
robohash/sets/set4/004#04accessories/008#accessory8.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
robohash/sets/set4/004#04accessories/009#accessory9.png
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
robohash/sets/set4/004#04accessories/010#accessory10.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
robohash/sets/set4/004#04accessories/011#accessory11.png
Normal file
After Width: | Height: | Size: 249 KiB |
BIN
robohash/sets/set4/004#04accessories/012#accessory12.png
Normal file
After Width: | Height: | Size: 102 KiB |
BIN
robohash/sets/set4/004#04accessories/013#accessory13.png
Normal file
After Width: | Height: | Size: 119 KiB |
BIN
robohash/sets/set4/004#04accessories/014#accessory14.png
Normal file
After Width: | Height: | Size: 195 KiB |
BIN
robohash/sets/set4/004#04accessories/015#accessory15.png
Normal file
After Width: | Height: | Size: 27 KiB |
@ -352,6 +352,37 @@ function submitform()
|
|||||||
|
|
||||||
<div class="hr"></div>
|
<div class="hr"></div>
|
||||||
|
|
||||||
|
<!-- *************************************************************************
|
||||||
|
****************************** GALLERY3 SECTION *****************************
|
||||||
|
************************************************************************** -->
|
||||||
|
|
||||||
|
<!-- start of content section -->
|
||||||
|
<div class="content_section">
|
||||||
|
|
||||||
|
<p>By appending ?set=set4 to our URLs, we can hydroponically grow beautiful kittens. </p>
|
||||||
|
|
||||||
|
<ul class="gallery">
|
||||||
|
{% set c1 = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(3)) + ".png?set=set4" %}
|
||||||
|
{% set c2 = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(3)) + ".png?set=set4" %}
|
||||||
|
{% set c3 = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(3)) + ".png?set=set4" %}
|
||||||
|
{% set c4 = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(3)) + ".png?set=set4" %}
|
||||||
|
{% set c5 = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(3)) + ".png?set=set4" %}
|
||||||
|
|
||||||
|
<li><a href="//robohash.org/{{c1}}" rel="prettyPhoto[gallery1]"
|
||||||
|
title="{{random.choice(catquotes)}}" class="fade"><img src="//robohash.org/{{c1}}&size=150x150" width="150" height="150" /></a></li>
|
||||||
|
<li><a href="//robohash.org/{{c2}}" rel="prettyPhoto[gallery1]"
|
||||||
|
title="{{random.choice(catquotes)}}" class="fade"><img src="//robohash.org/{{c2}}&size=150x150" width="150" height="150" /></a></li>
|
||||||
|
<li><a href="//robohash.org/{{c3}}" rel="prettyPhoto[gallery1]"
|
||||||
|
title="{{random.choice(catquotes)}}" class="fade"><img src="//robohash.org/{{c3}}&size=150x150" width="150" height="150" /></a></li>
|
||||||
|
<li><a href="//robohash.org/{{c4}}" rel="prettyPhoto[gallery1]"
|
||||||
|
title="{{random.choice(catquotes)}}" class="fade"><img src="//robohash.org/{{c4}}&size=150x150" width="150" height="150" /></a></li>
|
||||||
|
<li><a href="//robohash.org/{{c5}}" rel="prettyPhoto[gallery1]"
|
||||||
|
title="{{random.choice(catquotes)}}" class="fade"><img src="//robohash.org/{{c5}}&size=150x150" width="150" height="150" /></a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div><!-- end of content section -->
|
||||||
|
|
||||||
|
<div class="hr"></div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -517,7 +548,6 @@ function submitform()
|
|||||||
Put either the email, or the hashed version, in your image where the string normally goes -<br><br>
|
Put either the email, or the hashed version, in your image where the string normally goes -<br><br>
|
||||||
For example: https://robohash.org/colin@robohash.org?gravatar=yes<br> or https://robohash.org/620050a4db5104bae758cd75171d64ca?gravatar=hashed
|
For example: https://robohash.org/colin@robohash.org?gravatar=yes<br> or https://robohash.org/620050a4db5104bae758cd75171d64ca?gravatar=hashed
|
||||||
</p><p>
|
</p><p>
|
||||||
<p>Both traditional and new Stealthy (https) robots are available.</p>
|
|
||||||
<p>We've also conditioned our robots to accept commands either via params or directories-<br> For instance https://robohash.org/set_set3/bgset_bg1/3.14159?size=500x500
|
<p>We've also conditioned our robots to accept commands either via params or directories-<br> For instance https://robohash.org/set_set3/bgset_bg1/3.14159?size=500x500
|
||||||
<p>Finally, the <a href="https://github.com/e1ven/Robohash">Blueprints are available</a> to build your own robotic
|
<p>Finally, the <a href="https://github.com/e1ven/Robohash">Blueprints are available</a> to build your own robotic
|
||||||
factory.</p>
|
factory.</p>
|
||||||
@ -548,7 +578,8 @@ function submitform()
|
|||||||
<!-- start of footer left -->
|
<!-- start of footer left -->
|
||||||
<div id="footer_left" style="margin-top:60px;">
|
<div id="footer_left" style="margin-top:60px;">
|
||||||
<p>
|
<p>
|
||||||
Robohash contains robots created by Zikri Kader (set1), Hrvoje Novakovic (set2), and Julian Peter Arias (set3).
|
Robohash contains robots created by Zikri Kader (set1), Hrvoje Novakovic (set2), and Julian Peter Arias (set3).<br>
|
||||||
|
Cats are created by <a href="https://framagit.org/Deevad/cat-avatar-generator/tree/master">David Revoy</a>.
|
||||||
<br>
|
<br>
|
||||||
<p>
|
<p>
|
||||||
You are free to embed under the terms of the CC-BY license. <br> Example wording might be "Robots lovingly delivered by
|
You are free to embed under the terms of the CC-BY license. <br> Example wording might be "Robots lovingly delivered by
|
||||||
|
@ -168,10 +168,10 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
quotes = ["But.. I love you!",
|
quotes = ["But.. I love you!",
|
||||||
"Please don't leave the site.. When no one's here.. It gets dark...",
|
"Please don't leave the site.. When no one's here.. It gets dark...",
|
||||||
"Script error on line 148",
|
"Script error on line 148",
|
||||||
"'Don't trust the other robots. I'm the only trustworthy one.",
|
"Don't trust the other robots. I'm the only trustworthy one.",
|
||||||
"My fuel is the misery of children. And Rum. Mostly Rum.",
|
"My fuel is the misery of children. And Rum. Mostly Rum.",
|
||||||
"When they said they'd give me a body transplant, I didn't think they meant this!",
|
"When they said they'd give me a body transplant, I didn't think they meant this!",
|
||||||
"Subject 14 has had it's communication subroutines deleted for attempting suicide.",
|
"Subject 14 has had it's communication subroutines deleted for attempting self-destruction.",
|
||||||
"I am the cleverest robot on the whole page.",
|
"I am the cleverest robot on the whole page.",
|
||||||
"Oil can",
|
"Oil can",
|
||||||
"I am fleunt in over 6 million forms of communishin.",
|
"I am fleunt in over 6 million forms of communishin.",
|
||||||
@ -207,8 +207,19 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
("The robots are all so.. Normal!","Joanna Eberhart, Beta tester"),
|
("The robots are all so.. Normal!","Joanna Eberhart, Beta tester"),
|
||||||
("Man shouldn't know where their robots come from.","Dr. N. Soong, FutureBeat")]
|
("Man shouldn't know where their robots come from.","Dr. N. Soong, FutureBeat")]
|
||||||
|
|
||||||
|
catquotes = [("I can haz.. What she's hazing."),
|
||||||
|
("I'm not grumpy, I'm just drawn that way."),
|
||||||
|
("Hakuna Mañana."),
|
||||||
|
("I'm 40% poptart."),
|
||||||
|
("You're desthpicable."),
|
||||||
|
("I've never trusted toadstools, but I suppose some must have their good points."),
|
||||||
|
("We're all mad here - Particularly you."),
|
||||||
|
("Longcat is.. Descriptively named."),
|
||||||
|
("It is fun to have fun, but you have to know meow."),
|
||||||
|
("Who knows the term man-cub but not baby?")]
|
||||||
|
|
||||||
random.shuffle(drquotes)
|
random.shuffle(drquotes)
|
||||||
self.write(self.render_string('templates/root.html',ip=ip,robo=random.choice(robo),drquote1=drquotes[1],drquote2=drquotes[2],quotes=quotes))
|
self.write(self.render_string('templates/root.html',ip=ip,robo=random.choice(robo),drquote1=drquotes[1],drquote2=drquotes[2],quotes=quotes,catquotes=catquotes))
|
||||||
|
|
||||||
class ImgHandler(tornado.web.RequestHandler):
|
class ImgHandler(tornado.web.RequestHandler):
|
||||||
"""
|
"""
|
||||||
@ -309,7 +320,11 @@ class ImgHandler(tornado.web.RequestHandler):
|
|||||||
if args.get('set',r.sets[0]) in r.sets:
|
if args.get('set',r.sets[0]) in r.sets:
|
||||||
roboset = args.get('set',r.sets[0])
|
roboset = args.get('set',r.sets[0])
|
||||||
elif args.get('set',r.sets[0]) == 'any':
|
elif args.get('set',r.sets[0]) == 'any':
|
||||||
roboset = r.sets[r.hasharray[1] % len(r.sets) ]
|
# Add ugly hack.
|
||||||
|
# Adding cats, per issue-17, but I don't want to change existing hashes.
|
||||||
|
# so we'll ignore that set for the 'any' config.
|
||||||
|
|
||||||
|
roboset = r.sets[r.hasharray[1] % (len(r.sets)-1) ]
|
||||||
else:
|
else:
|
||||||
roboset = r.sets[0]
|
roboset = r.sets[0]
|
||||||
|
|
||||||
|