dart-html5-samples is a collection of HTML5 samples written in Dart. Most of them were ported from HTML5 Rocks. I first blogged about dart-html5-samples about three months ago. Since then, a ton of cool, new HTML5 samples have been ported to Dart, and we've updated all the samples for M2!
Here is the current list of samples:
- A Beginner's Guide to Using the Application CacheNew!
- High DPI CanvasNew!
- Image Filters with CanvasNew!
- Native HTML5 Drag and Drop
- Exploring the FileSystem APIs
- Exploring the FileSystem APIs: Web-based TerminalNew!
- A Simple Trip Meter Using the Geolocation APINew!
- A Simple ToDo List Using HTML5 IndexedDB
- Local Storage BasicsNew!
- Using the Notifications API
- Pointer Lock And First Person Shooter ControlsNew!
- Leaner, Meaner, Faster Animations with requestAnimationFrame
- HTML5 Video
- Getting Started with the Web Audio API
There are a couple samples that I want to point out because they're so interesting. Adam Singer ported Eric Bidelman's terminal sample. Try clicking near the cursor and typing
help. Here's the source.
Special thanks go to Adam Singer, Shailen Tuli, John McCutchan, and Jason Brooks for their help on the project. If you're interested in contributing new HTML5 samples, check out the README for how to get started! As always, if you’d like to chat more about this, feel free to send us email on the mailing list or ask questions on Stack Overflow.