Giter VIP home page Giter VIP logo

comicgen's People

Contributors

sanand0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

comicgen's Issues

Integrate with Power BI

Power BI supports custom visuals written in JS. Since Comicgen is a pure JS library, porting it should be possible.

This lets us annotate Power BI dashboards with emotion states driven by data. (e.g. growing sales => happy emotion)

Parameterization of colors

  • Test color class for Ava, Evan & Bean (@tejesh95 to test)
  • Convert Ava, Evan & Bean into classes for color (@tejesh95 to test)
  • Test color face for Dee (@sanand0 to test)

Document how designers can create new Continuous Characters

(things to keep in mind when creating the characters)

  • Name all layers of character. ensure the name doesn't start with numbers/special characters. (Because the names are translated as id attribute for svg elements
  • For better performance of interpolation, ensure number of vector points are same.

Position attributes are ignored

This official code sample:

<svg width="500" height="600">
  <g class="comicgen" name="dee" angle="straight" emotion="smilehappy" pose="pointingright" x="-120"></g>
  <g class="comicgen" name="dey" angle="straight" emotion="smile" pose="handsinpocket" x="150"></g>
</svg>

... should create this image:

Output

But the result is:

image

Raised by RK

Using Comicgen in Google Spreadsheet

Google Spreadsheet has an Image() function.

Would love to be able to use IMAGE("https://gramener.com/comicgen/#?name=dee&emotion=angry&pose=handsinpocket&ext=svg&mirror=&x=0&y=0&scale=1&width=500&height=600&ext=svg") & get the image displayed in a cell in Google Spreadsheet.

Image API

Comicgen supports a JavaScript API and a HTML API. However, the UI also supports a REST API. For example: ?name=dee&angle=side&emotion=sad&pose=shrug links to this page.

We want to create:

  • https://gramener.com/comicgen/export.svg?... to send an SVG
  • https://gramener.com/comicgen/export.png?... to send a transparent PNG
  • https://gramener.com/comicgen/export.jpg?... to send a JPG
  • https://gramener.com/comicgen/export.gif?... to send a transparent GIF
  • https://gramener.com/comicgen/export.pdf?... to send a PDF

This allows Comicgen images to be embedded in many more applications, such as emails. This also allows users to compose their own layers using SVG, PNG or GIF images

Add a download option to the UI

Users want to download an SVG to edit offline on tools like Adobe Illustrator. Some users want to download the images as PNG - which is simpler than taking a screenshot.

Add background story for characters

Having a background story to each character gives users an idea of where and when to use them.

For example, Ringo looks like a "corporate" character. If he is a busy manager, with a fair bit of experience, a quiet and gentle disposition, and likes playing drums, it's easier to (a) relate to him, and (b) create stories and situations around him.

The character's background story is best written by the author.

We need to write a background story for:

  • Dee
  • Dey
  • Ringo
  • Priya
  • Aryan
  • Zoe
  • Facesketch
  • Humaans

We also need to:

  • Create a character page on the website that describes each character
  • Document the process. Each new character must come with a story

Integrate with Tableau

This is similar to #5 Integrate with Power BI.

We want to annotate Tableau dashboards with emotion states driven by data. (e.g. growing sales => happy emotion.)

At the moment, we don't know how to do this, but linking to a dynamic image seems to be an approach.

Created animatable characters

See this Chernoff faces demo. It uses variables to control the extent of the smile, width of the face, etc.

Can we create characters whose expressions and body posture can be controlled using continuous variables?

This may be easier with xkcd-like stick figures #11. This is also something cartoon animators would know a lot about.

Allow searching by synonyms

This allows the same image to be tagged with multiple phrases. For example, searching Fontawesome for city also shows "building", "university", etc. Similarly, we want "unhappy" to be a synonym for sad.

This is required only in the UI - not in the API. This is to avoid bloat.

require / node version of comicgen

Enable comicgen to used in require('comicgen') and import('comicgen') environments. Probably default document.currentScript.src to http://gramener.com or /

@sanand0 -- is this something you'd like in this project?

Open API?

Hello Team,

Wonderful Job! Thanks for sharing. Does it have any public API that I can use to create a wrapper for Python or R?

Thanks,
A

Standardize emotions

Today, each character has its own set of emotions.

We need a taxonomy of emotions for these characters, and apply these in a standard way across characters.

cc: @kriti21 @nikhilkabbin

Integrate with Excel

Fairly similar to #2 (Integrate with PowerPoint). But in Excel, we want to drive the character using data.

For example, if cell D2 has "dee" and D3 has "straight" and D4 has emotion "happy" and so on, we should be able to create a comic from that. When the cells change, the comic should change dynamically.

One way of doing this may be to embed an SVG or PNG image based on a dynamically constructed URL

Add new comic characters

If you would like us to add a new character, or you have an idea for a new character to propose on comicgen, please add a comment, mentioning:

  • What character(s) you'd like to add (e.g. a disabled character)
  • An example of what that might look like (a screenshot)
  • Who might find this useful, and how they'd use it

Here is a consolidated list of requests:

  • Stick figures
  • US 2020 presidential candidates
  • Characters that represent minorities, people with disabilities: via Alberto Cairo
  • Characters of different age groups (children, middle-aged, elderly, etc)
  • Indian Characters
  • Animal characters (e.g. dogs, cats, fish)
  • Inanimate characters (e.g. cars, chairs, etc) -- but these could have emotions too
  • 3D character objects

https://app.leanboard.io/board/cf68e6b3-22af-4fa7-84e0-0288f9aaf25f

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.