1. Building a simple chat server using NowJS in 12 lines of code.

    # vimeo.com/20936525 Uploaded 56.3K Plays 1 Comment
  2. This video shows you how you can create a simple game (Pong) from scratch, with the help of the Impact Game Engine.

    More Info at http://impactjs.org/

    (Yes, I'm aware that I pronounced "puck" horribly wrong. Oh, zees krazy Germanz!)

    # vimeo.com/17161851 Uploaded 135K Plays 8 Comments
  3. Strings (2011) by Alexander Chen visualizes the first Prelude from Bach's Cello Suites. Using the math behind string length and pitch, it came from a simple idea: what if all the notes were drawn as strings? Instead of a stream of classical notation on a page, this interactive project highlights the music's underlying structure and subtle shifts. View interactive piece at baroque.me.

    More details at: blog.chenalexander.com/2011/baroque-bach-cello/

    Built in: HTML5 Canvas, Javascript, SoundManager
    Made while a resident at Eyebeam (eyebeam.org)


    # vimeo.com/31179423 Uploaded 641K Plays 55 Comments
  4. Event: meetup.com/NY-Haskell/events/140131262/
    GhcJs: weblog.luite.com/wordpress/?p=14

    Note: Apologies for the poor sound quality of this recording. We did the best we could, given the poor recording setup, and in fact debated not posting this video at all. However, we believe that the material is of interest to some, and the payoff will be worthwhile for those able to listen carefully.

    GHCJS is a Haskell to JavaScript compiler based on GHC. Its concurrent runtime system supports lightweight threads, (asynchronous) exceptions, lazy and asynchronous IO, synchronisation primitives like MVar, and software transactional memory. A non-concurrent runtime is also available for situations where code size is of particular importance. In addition to the existing foreign function interface, GHCJS has a convenient "foreign import javascript'' calling convention, allowing users to write inline JavaScript in their Haskell program.

    The compiler integrates well in the Haskell ecosystem: GHCJS implements all modern GHC extensions, including Template Haskell. Cabal supports GHCJS as a compiler flavour, and most packages on hackage can be compiled and used directly without changes. Packages with foreign dependencies can be used when a JavaScript implementation is available for the imported foreign functions.

    In this talk we will see the stages and transformations in the GHCJS compilation pipeline, and discuss the design choices for translating various Haskell features to JavaScript. The second half will be more practical, with examples of interacting with (asynchronous) JavaScript code through the foreign function interface, handling browser events and doing smooth animation. If time permits, we will also briefly look at debugging the compiled code.

    # vimeo.com/80895330 Uploaded 4,988 Plays 0 Comments



Browse This Channel

Shout Box

Heads up: the shoutbox will be retiring soon. It’s tired of working, and can’t wait to relax. You can still send a message to the channel owner, though!

Channels are a simple, beautiful way to showcase and watch videos. Browse more Channels.