• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    JavaScript
  • Created over 13 years ago
  • Updated about 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CSS3 Experiment: A departure board effect in JavaScript/CSS3

departure-board

Departure board is a JavaScript/CSS3 implementation of a rail station departure board. It was created as an experiment to see how browsers handle many transitions simultaneously.

The conclusion was: not great. At the time of posting, I'm getting the following results on my Mac...

  • WebKit - Inconsistent. Sometimes runs smoothy, but most of the time it's jumpy and the whole document often flashes.
  • Firefox - Had the smoothest results, but it looks like it is achieving this by ignoring some transitions when there are too many at once.
  • Opera - Handled the transitions in much the same way as Firefox, except the text appeared blotchy during the transform.
  • IE - Untested.

See the example in action at: http://paulcuth.me.uk/departure-board

Acknowledgements

The CSS styling that is used in this project is heavily based on Jakub Hampl's great article "Designing a departures board with CSS3".

License

(The MIT License)

Copyright (c) 2011 Paul Cuthbertson <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

starlight

A Lua to ES6 transpiler.
Lua
185
star
2

esp8266-cli

An ESP8266 command line interface.
JavaScript
42
star
3

netpbm-viewer

View PPM, PGM and PBM images by simply dragging them into your browser.
JavaScript
24
star
4

node-nxt

Node.js module to connect to, communicate with and control Mindstorms NXT devices that run pbLua.
JavaScript
18
star
5

gatsby-source-faunadb

A Gatsby source plugin to fetch documents from Fauna DB.
JavaScript
11
star
6

hamlet

A JavaScript translator and runtime written in Lua.
JavaScript
9
star
7

lua-tessel

A CLI that enables the scripting of a Tessel device in Lua.
JavaScript
9
star
8

drag-refresh

jQuery plugin to add drag-down-to-refresh to your web app.
JavaScript
6
star
9

starlight-examples

Working examples of how to use Starlight.
JavaScript
4
star
10

cookies_node.js

Simple cookie handling for node.js
JavaScript
3
star
11

opml-reader

Web Component for reading OPML files
JavaScript
3
star
12

node-tv-remote

Watch TV on your tablet or desktop machine and use your phone as a remote. Demo coming soon.
JavaScript
2
star
13

lichen

JavaScript include/bookmarklet to monitor variables in the global namespace.
JavaScript
1
star
14

parse.lua

A Lua parser, in Lua.
Lua
1
star
15

sizr

Discover a device's available screen size in pixels.
JavaScript
1
star
16

where-to-live

Import.io hackday project.
JavaScript
1
star
17

wirebug

Debug JavaScript remotely.
JavaScript
1
star
18

apidevday

JavaScript
1
star
19

ImageGallery

A small JavaScript slideshow-type image gallery using BBC's Glow library
JavaScript
1
star
20

enhance-webauthn-example

A minimal implementation using WebAuthn in Enhance.
JavaScript
1
star