Git Product home page Git Product logo

cat-snacks's Introduction

cat-snacks ๐Ÿ˜ธ

It is an explicit goal of this project to be patient with and friendly to everyone participating!

@catsnacks is a collaborative Twitter bot & exists exists to explore the universe of adorable cat faces. You can help @catsnacks do this by adding new ways to draw cat faces!

Note: the first iteration of @catsnacks had a very Neko Atsume feel to it (I was playing and enjoying the game around the time I made the original prototype) but I want to expand way beyond that aesthetic to encompass all kinds of cartoon kitties.

How to contribute

First, take a look at the code of conduct! After that, please feel free to:

Open issues with questions

  • you will be met with patience and kindness!
  • it is totally acceptable to ask for tech support via creating an issue here

Open issues with suggestions

  • even if you can't or don't want to code!
  • you could...
    • describe your idea
    • add a sketch or drawing
    • link to a reference image of something you think should be added

Send pull requests

  • these don't have to be perfect! (the caveat being, if I make changes to your code after merging it, please don't be offended! it's only done in the spirit of making things modular & readable for future cat-face explorers)

Getting started

$ git clone https://github.com/beaugunderson/cat-snacks
$ cd cat-snacks
$ npm install
$ npm start # this starts a browser version with live reload

To figure out how bezier curve math works this interactive curve tool can be helpful.

How to add a new part

Let's say you wanted to add tabby markings, you could accomplish that with these steps:

  • make a new file for the drawing code: ./parts/tabby-markings.js
  • put a function in module.exports of that file that takes ctx and options parameters
  • add options to generate-cat.js if it makes sense to (for example maybe you want to be able to expose some of the parameters for tweaking)
  • import your module from the module that will call it, in this case ./parts/head-markings.js and call it where it makes sense to (in this case by adding it to the list of randomly-chosen facial marking functions)

Help wanted!

  • more colors (or color sets, colors that work well together)
  • accessories (snacks, toys, hats)
  • different mouths, eyes, noses, stripes, fur patterns
    • notched ears
  • different backgrounds (gradients? stripes? chevrons?)
  • reference images of cartoon cat faces for inspiration, maybe a ./reference directory?
  • filters?

a 5x5 grid of adorable cat faces

cat-snacks's People

Contributors

beaugunderson avatar coleww avatar ljcooke avatar maxmechanic avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.