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 Cache New!
- High DPI Canvas New!
- Image Filters with Canvas New!
- Native HTML5 Drag and Drop
- Exploring the FileSystem APIs
- Exploring the FileSystem APIs: Web-based Terminal New!
- A Simple Trip Meter Using the Geolocation API New!
- A Simple ToDo List Using HTML5 IndexedDB
- Local Storage Basics New!
- Using the Notifications API
- Pointer Lock And First Person Shooter Controls New!
- Leaner, Meaner, Faster Animations with requestAnimationFrame
- HTML5 Video
- Getting Started with the Web Audio API
- WebGL New!
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.