Giter Site home page Giter Site logo

commacoloring's Introduction

comma.ai Adult Coloring Book
============================

Use it at https://commacoloring.com/

Based on https://github.com/kyamagu/js-segment-annotator
Thanks Kota Yamaguchi :)

Added a quick Heroku compatible server

Usage
=====

Local: "heroku local"

Upload to Heroku (free tier is fine) 

To create the tables, run "heroku pg:psql" and
  CREATE TABLE data (name varchar(200), data text)
  // CREATE TABLE images (name varchar(200), data text, track text)
  CREATE TABLE images2 (name varchar(200), data text, track text, email text, gid text)
  CREATE TABLE suggestions (name varchar(200), data text)

Run "tools/uploader.py <paths to png files>" to upload data

commacoloring's People

Contributors

geohot avatar jopasserat avatar kyamagu avatar nicolaiharich avatar ofk 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

commacoloring's Issues

Spurious click generated ~100 pixels above (north) of pointer

In some circumstances, when the user clicks, a spurious pixel will be created ~100 pixels above (north) of the pointer position.

Although originally this appeared to only be with the paintbrush, on a single occasion it has been seen with the flood-fill magic wand.

This will repeatedly happen until some combination of + swapping colour + swapping tool occurs + swapping back occurs to reset the state.

Won't send

When I try to send an image, commacoloring on heroku doesn't respond. The Chrome log shows "POST https://commacoloring.herokuapp.com/submit 500 (INTERNAL SERVER ERROR)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
r.(anonymous function) @ jquery.min.js:4
(anonymous) @ edit.js:92
dispatch @ jquery.min.js:3
q.handle @ jquery.min.js:3".

Happens with Chrome 60 on macOS Sierra.

I cant see images

Hello again, i have done all the instructions and i can run the commacoloring, create the database in local postgres and i can upload the images to the database but when i click in submit i dont see any image...maybe is my problem again, can help me? thanks in advance!

Problem using heroku

Hi! Maybe is my fault but when i run "heroku local" give me the following error:

raise KeyError(key)
18:20:06 web.1 | KeyError: 'DATABASE_URL'

I know need database but, how can i create? and after that, how can i add the database_url to the vars of the app? Thanks in advance!

Mousedown continues after mouseup

In some circumstances, the mouseup is not registered, and drawing continues after the button has been released. With the paintbrush this can results in a spattering of dots across the picture following the trajectory of the pointer.

This continues until the canvas has been exited and the state can be reset by some combination of changing tool + changing colour and back.

Collaboration with Mapillary

Have you thought about collaborating with Mapillary on crowdsourced image segmentation?

They're doing some of the same work, contributing a lot to open source, and the images they collect (not the segmentation, though) are under a CC BY-SA license.

Show/hide overlay easily

Please make it easy to show or hide the overlay. Right now, I have to constantly switch between high and low brightness to make out what's behind what tile and then what color is where.

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.