1
0
Fork
You've already forked Processing-Workshop-Tool
0
Multiuser web application for Processing workshops
This repository has been archived on 2026年03月16日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • JavaScript 62%
  • CSS 17.3%
  • Stylus 15.1%
  • Pug 5.6%
Find a file
2026年03月16日 17:57:12 +01:00
public Add missing files after getting rid of coffeescript. I'm a git noob. 2014年01月17日 23:33:17 +01:00
views Add missing files after getting rid of coffeescript. I'm a git noob. 2014年01月17日 23:33:17 +01:00
.gitignore add library placeholders. add libraries using npm 2012年03月31日 22:56:45 +03:00
db.js first version 2012年04月01日 00:50:31 +03:00
LICENSE first version 2012年04月01日 00:50:31 +03:00
package.json Make install easier 2014年01月18日 00:00:30 +01:00
README.md Add screenshot to README.md 2026年03月16日 17:57:12 +01:00
screenshot.png Upload screenshot 2026年03月16日 17:56:40 +01:00
server.js Make it work after upgrading from Express 2 to 3 2014年01月17日 23:02:45 +01:00

Processing Workshop Tool

This tool was written as an experiment to be used in a four day creative programming workshop with up to 10 students. It runs on my laptop and all users must be connected to the same wireless network.

It allows each student to view the code written by the teacher and by the other students almost in real time. It includes a simple chat, allows running the code written by any of the participants using processing.js, and has a question mark button to call the attention of the teacher (like calling for the flight attendant in airplanes).

There is no registration or security of any kind. I wanted it to work just by opening a URL.

Everything was done in three days, from watching tutorials about node.js, socket.io, jade, etc., to downloading node.js and npm, compiling it all and writing the programs. If something is totally wrong, you know why :)

Tested on Ubuntu 13.10, Firefox 26, Chromium 31, Node v0.10.24 and npm 1.3.21.

Install

Run

  • cd Processing-Workshop-Tool/
  • node server.js
  • Open http://localhost:3000 in your browser.
  • Open http://{your IP}:3000 in other computers or smartphones in your network.
  • Click the green window title bar to set your name.
  • Type Processing code in your green window.
  • Click run to execute code.
  • Click the question mark if you want to ask something to the teacher.
  • Chat.

Ideas

  • Use backbone.js to make the code easier to work with.
  • Show line numbers in the editor.
  • Double click any keyword to open Processing documentation.
  • Block interface while running code.
  • Are there memory leaks when running code multiple times? Not tested.
  • Collapse editor windows when too many users.
  • Allow pausing real time updates to make it easy to copy code from others. It's hard to select and copy code being edited.
  • Short-cut for running code.
  • Currently data is all in memory. If you stop node, it's all gone. Save to a database.
  • Is there a way to send key presses on real time instead of sending the whole code once per second? Is it worth it?
  • Add a new associative array to keep track of connected users. Notify clients when users are gone to hide their editors.
  • Let users mark when code is in a runnable state.

MIT licensed. Copyright (c) 2012 Abe Pazos - http://hamoid.com