Here are some sample programs that use the UsefulJS library. Rather than being dummy examples, they're full blown applications which I hope you'll find useful and/or fun in their own right.
Spend endless hours exploring the infinite possibilities of the world of fractals. Needs worker and canvas support in the browser.
If you want to use my fractal generation library in your own project, feel free!
This is an implementation of Gram Games' popular mobile game. It takes the minimalistic aesthetic and makes it more minimal! Drag shapes onto the grid to make complete rows and columns. It works particularly well on the move.
It uses the UsefulJS Event module along with the DnD and Skin extensions. It works with both mouse / trackpad and touchscreen.
From deciphering UTF-8 text to looking up the hex-escape sequence for a reserved character, this app will be useful to any programmer who has to work with text, which means every programmer. Tracking Unicode v8.0, this app shows decimal and hexadecimal values for every codepoint along with the glyph and UTF-8 encoding. Searching the table is a breeze - just use your browser's search facility!
This app highlights the formatting and encoding functionality of the String module.
This app is a perpetual calendar with a five year window. Choose from a wide variety of locales, calendar types and numbering systems.
This app is pretty much built around the cal
function
and highlights the UsefulJS philosophy: you don't get a calendar
widget but rather the data to make your own calendar widget.
This is a nifty little app that converts between a large number of currencies using rates obtained via JSONP calls to a Yahoo web service.
This app highlights the Currency extension and makes heavy use of the Number module for locale-aware formatting and parsing.
This is a fun pick-up-and-play game to exercise your brain on the move. Make as many words as you can in under a minute with six rounds to beat your high score. The bigger the words, the bigger the score.
This is another app that uses the DnD extension and it works very nicely on a touch screen.
If you want to use my words library to make your own games, feel free! The archive contains a Perl script, words.pl, which you run over the words.txt file to produce a JavaScript library.
Another finger-friendly game for when you're waiting for a haircut.
If you want to use my sudoku library to make your game, feel free!