Giter Site home page Giter Site logo

chalktalk's People

Contributors

2emoore4 avatar cuecue123 avatar drpepper avatar galsasson avatar hugolpz avatar intoempty avatar joshgiesbrecht avatar kenperlin avatar kristofe avatar kronopath avatar ktrosenberg avatar loremipsum1771 avatar michaelwahrman avatar snowymo avatar therewasaguy 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  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

chalktalk's Issues

Remove the doc folder

We're moving documentation to the GitHub wiki, we should make sure it has everything from the doc folder and then remove that folder.

Doc's files (tick when moved to wiki is confirmed):

  • Creating Sketches.md
  • Installation and Running.md
  • intro.txt
  • issues.txt

Cannot Spectate Chalktalk from Another Window or Computer

Before it was possible to run the Chalktalk server on one machine and view the same Chalktalk instance from another machine by loading ip_address_of_server_machine:11235. This works on the master branch, but not on the mr branches. Also, I notice that on the mr branches, the server crashes if you try refreshing the page. In the master branch this does not happen. I wonder if the issues with server connectivity are related.
We should restore this if possible to allow for easier testing when we try implementing multiple cursors.
On the subject of multiple cursors, I thought it may be possible to start with a cursor per sketchPage since I found the following:

g.js L 1747
events_canvas.keyDown = function(key) { e2s(); sketchPage.keyDown(key); }
events_canvas.keyUp = function(key) { e2s(); sketchPage.keyUp(key); }
events_canvas.mouseDown = function(x, y, z) { e2s(); sketchPage.mouseDown(x, y, z); }
events_canvas.mouseDrag = function(x, y, z) { e2s(); sketchPage.mouseDrag(x, y, z); }
events_canvas.mouseMove = function(x, y, z) { e2s(); sketchPage.mouseMove(x, y, z); }
events_canvas.mouseUp = function(x, y, z) { e2s(); sketchPage.mouseUp (x, y, z); }

However, I doubt this would work since there are other global variables not tied to the page that probably control mouse movement and actions. It may be worth a try though!

permissions error

Sorry for the simple question, but when I try to clone using
git clone [email protected]:kenperlin/chalktalk.git --depth=1
I get a permissions error. Not a frequent user of git, so perhaps a simple fix for this?

thanks

Steve Lewis

Video init with createObjectURL is not working anymore

The camera needs to be initialized with:

    console.log("chroma-key: start video", stream);

    // init video object
    this.videoStream = stream;
    this.video = document.createElement("video");
    this.video.autoplay = true;
    this.video.srcObject = stream;

(Line 169 in chroma-key js)

`npm install` doesn't work in node 12

If you try to install with node 12 you get a lot of errors like:

~\chalktalk\server\node_modules\bufferutil\src\bufferutil.cc(25): error C2039: 'Handle': is not a member of 'v8'

Seems to be utf-8-validate and bufferutil causing the problem.

Looks like a similar error to nodejs/node-gyp#1804 (comment)

Might be worth upgrading these packages or just putting a note in the install page on the wiki.

>npm --version
6.9.0

>node --version
v12.0.0

Massive failings when installing on Mac OS with Node 14.6.0

Saw another issue mentioning about not being able to install on Node 12. Therefore upgraded to the latest Node 14.6.0 but still couldn't install.

Mac OS version: 10.15.5
NodeJS version: 14.6.0

The errors began with:

[email protected] install /Volumes/TBack/Development/chalktalk/server/node_modules/bufferutil
node-gyp rebuild

CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
../src/bufferutil.cc:25:30: error: no template named 'Handle' in namespace 'v8'
static void Initialize(v8::Handlev8::Object target)
~~~~^
../src/bufferutil.cc:33:86: error: too few arguments to function call, single
argument 'context' was not specified
...Nan::New("BufferUtil").ToLocalChecked(), t->GetFunction());
~~~~~~~~~~~~~~ ^
/Users/soro/Library/Caches/node-gyp/14.6.0/include/node/v8.h:6475:3: note:
'GetFunction' declared here
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^
/Users/soro/Library/Caches/node-gyp/14.6.0/include/node/v8config.h:431:31: note:
expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT attribute((warn_unused_result))

Delete obsoleted font files

Create a ./font directory , move font files in it, bulk edit all links/usages of these files within the project.

Doesn't work: Platform dependent initialization failed

I can draw stuff but nothing gets recognized.
I'm using google-chrome on ArchLinux
When I run the command ./run.linux I get:

[3117:3159:1106/205432.945107:ERROR:browser_gpu_channel_host_factory.cc(108)] Failed to launch GPU process.
Created new window in existing browser session.

In Google DevTools I get:

THREE.WebGLRenderer 70
midi.js:15 Something went wrong while requesting MIDI access: InvalidStateError: Platform dependent initialization failed.

RangeError: "port" argument must be >= 0 and < 65536

I m trying to have Chalktalk load/start with in an app that I'am developing.
I have added this to the background-process.js file like this

require('./chalktalk/server/main.js')

When the app starts Chalktalk throws the following error

App threw an error during load
RangeError: "port" argument must be >= 0 and < 65536

Is there a way to start Chalktalk server using require ?
Is it possible to start Chalktalk sever without it launching chrome ?

Thanks

Create OS-independent install + run-server system

  • NPM based installation of the server's dependencies
  • NPM based run of the server
  • NPM based opening of web-browser (this stays OS dependent)
  • Test proposed npm run
  • update .bat files for clicks-lover
  • test .bat on windows

Regardless of OS, all users will have Nodejs / npm.
Also, installing the server via node / npm scripts would ease install by standizing it.
Proposal :

/Chalktalk
   └─┬  /Server/
     ├── /node_modules/   -- we want to install that !

Remove THREE.js dependency

As it looks like we're working towards removing THREE.js as a dependency (#22).This issue breaks that out into its own issue with a listing of sketches so we can update progress.

I am unsure of the state of Ken's replacement for THREE.js, so I'll leave it to others as to how to proceed.

  • flyers.js
  • hypershape.js
  • lathe.js (already has a non-THREE.js counterpart in lathe2.js)
  • leviathan.js
  • molecule.js
  • net.js
  • octopus.js
  • planet.js
  • raytrace.js
  • slice.js
  • spiky.js
  • stickman.js
  • tactonic.js
  • tentacle.js
  • testskin.js
  • zabacus.js
  • ikbody.js (via sketchlibs/ikBody.js)

Finish readme.md v1.0 for the most basic interactions

Please Help ! I kick started the README.md which is now a decent manual.
Still, the section #UI's API doesn't look good with the current few holes XD
Need someone with Chalktalk's usage knowledge to finish this README.md. Who could help to complete the empty [ ]??

screenshot from 2017-01-16 18-12-58

localhost:11235

Pardon me. I'm new and a novice when it comes to working with GitHub so forgive me for sounding like one. I followed all of the installation instructions for ChalkTalk and when I try and run ChalkTalk in my browser by typing in localhost:11235, I get this message: "localhost refused to connect". Any tips are appreciated.

Consider loosening restrictions on stroke order and direction

One of the biggest stumbling blocks for new users is the fact that in Chalktalk, stroke order and direction matters, and if you draw a sketch that looks like, say a pendulum, but you do it with the wrong stroke order, you end up with a completely different-looking sketch instead.

We can easily loosen these restrictions. When sketches are loaded, rather than just adding their strokes to the recognizer, Chalktalk could also generate every possible variation of the strokes (different orders, different directions) and recognize based on those as well. This would be a relatively simple way of removing one of the bigger stumbling blocks that new Chalktalk users have with the system.

In doing so, we'd have to address the issue that certain sketches would have to be changed for being too similar to each other (such as the handful of sketches that are shaped like a circle, or the two speaker-shaped audio sketches).

Note that stroke count would still matter, and this is necessary because stroke count is used to narrow down the number of sketches that a freehand drawing could possibly be (making recognition much more efficient).

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.