Return to Video

Together.js and Webmaker

  • 0:00 - 0:05
    Our colaboration starts with developers from Mozilla Labs and the Webmaker team.
  • 0:05 - 0:08
    Webmaker runs events all over the world, we share what we know
  • 0:08 - 0:12
    in schools, in homes, one and one, and everywhere!
  • 0:12 - 0:18
    With ToghetherJS, two lines of JavaScript inserted into any web page
  • 0:18 - 0:21
    gives you instant, feature-aware collaboration
  • 0:21 - 0:23
    You can't get that with closed platforms or Skype!
  • 0:23 - 0:27
    Out-of-the-box you get text chat, collaborative editing, and
  • 0:27 - 0:34
    audio chat through WebRTC audio.
    So we started experimenting using ToghetherJS
  • 0:34 - 0:36
    and Thimble, WebMaker's code editor.
  • 0:36 - 0:40
    Here's Ankit, in Brunei, and Amati, in Chennai, creating a postcard
  • 0:40 - 0:43
    with HTML.
    It says: "Hello Mozillians" in Hindi.
  • 0:43 - 0:47
    Now listen to what happens when Paul Max in Vancouver and Michelle in Berlin
  • 0:47 - 0:49
    get together to learn JavaScript.
  • 0:49 - 0:51
    Powered by WebRTC audio.
  • 0:53 - 0:55
    Pomax joined the session.
  • 0:55 - 0:57
    Yeah, yeah, yeah... This rain dot js thing...
  • 0:57 - 1:03
    Does really cool graphic stuff by just drawing rain drops in a picture
  • 1:03 - 1:09
    and if you look on line 24 through 29, it'll tell you what it wants
  • 1:09 - 1:13
    in terms of rain drops. So, you can see this, I'm gonna actually change the size
  • 1:13 - 1:18
    of the rain drops, just by adding a couple of 1s.
  • 1:18 - 1:20
    Oh yeah.
  • 1:22 - 1:28
    And what it's actually doing is it's generating rain drops based on this array.
  • 1:28 - 1:31
    If you've covered that in your JavaScript courses already, you can actually give it
  • 1:31 - 1:36
    all kinds of different rain drops. So I can say I want this small rain drop
  • 1:36 - 1:40
    and I want that to kick in half the time, and the other half of the time I want
  • 1:40 - 1:46
    one big rain drop. So this should be a bit bigger.
  • 1:46 - 1:49
    "So if you want to see..."
    "Can I make it 150?"
  • 1:49 - 1:52
    Go for it. Change that number.
  • 1:52 - 1:55
    Hahaha. That's a huge rain drop.
  • 1:56 - 2:00
    I'll just kick that back to 15 instead.
  • 2:01 - 2:06
    You can also take the image URL which is right here.
  • 2:06 - 2:07
    image URL!
  • 2:07 - 2:13
    Well, I live in Berlin, so maybe I'll make it very... like a gray image of Berlin
  • 2:15 - 2:18
    Oh, nice!
  • 2:18 - 2:21
    That's my... there right around the corner from my house
  • 2:21 - 2:24
    Oh so then according to that it's raining quite hard
  • 2:24 - 2:32
    So let's just say... You know what? engine.preset(... big drops
  • 2:32 - 2:35
    There we go! That's rain in Berlin
Title:
Together.js and Webmaker
Description:

From Mozilla Summit

more » « less
Video Language:
English
Duration:
02:46

English subtitles

Revisions