beaugunderson / cat-snacks

🐦😻 a bot that tweets adorable cat faces!
https://twitter.com/catsnacks
42 stars 5 forks source link

accessories/glasses #11

Closed coleww closed 8 years ago

coleww commented 8 years ago

Adds some basic logic for tossing accessories onto a cat, and glasses too!

accessories can go in /parts and just need to be added to the list in lib/accessorize.js

some cute lil example boogers:

screen shot 2016-02-02 at 10 57 31 am screen shot 2016-02-02 at 10 57 24 am screen shot 2016-02-02 at 10 57 18 am screen shot 2016-02-02 at 10 57 10 am
beaugunderson commented 8 years ago

omg yes yes yes these are adorable!!! :heart_eyes_cat:

in the screenshots it looks like the left side has the tinted rectangle drawn over the frame, should be drawn underneath (maybe it's already fixed in the code?)

also, if you specify lineWidth it needs to be multiplied by options.scaleFactor (or else the frames are too thick in the grid view since each cat is smaller)

node does have string interpretation now too btw, it looks like string ${stuff[0]} :sparkles: (not necessary for this PR but i am excited that we can use it now!)

coleww commented 8 years ago

:pray: updated all the things :sparkles:

beaugunderson commented 8 years ago

merging all the things!!! :sparkles: