Tree @master (Download .tar.gz)
- a-minimalist-critique
- a-non-random-walk
- art-restoration-simulator
- bezier-knots
- black-hole-poem
- cheshire-text
- chzrxl
- circus-xamulus
- colourring
- cyclobots
- eine-kleine-glitchfraktal
- fibonacci-spiral
- fingerspelling
- heronsis-hermnonicii
- hirsute-miasma
- hypongtrochoid
- kolakoski-kurve
- latcarf
- markov-font
- multicolouralism
- noise-to-signal-1
- pixed-point
- prairie
- progression
- radialjective
- rigamaroads
- semicircle-jam
- spadgets
- tentacles-undamped
- text-uniquifier
- the-frame
- the-judgment-of-paris
- two-fifty-six
- uncle-ankur
- woman-on-film
- README.markdown
- UNLICENSE
HTML5-Gewgaws
This is a collection of gewgaws written for HTML5, generally (if not exclusively) in Javascript.
"Gewgaw" means exactly what it sounds like. But if you insist on a more specific description, think: small entertainments that are somewhere between automata, games, and art.
(A corollary of this is that if something is a proper HTML5 game or automaton or whatever, it will probably have its own repo instead of being in this one.)
If you want to see these gewgaws in action, you should head on over to the Gewgaws article at Cat's Eye Technologies.
Many of these gewgaws make use of files from the yoob.js
library. Generally, these files reside in a local yoob subdirectory of
the gegaw's directory. There is some duplication of these files, but this
is minor compared to the flexibility of allowing each gewgaw to maintain
its own versions of its yoob.js files.
The contents of this repo are in the public domain; see the file UNLICENSE
for more information. This includes any images found within, which I have
either obtained from public domain sources, or hereby place into the public
domain. This includes, too, the bits and pieces of yoob.js, which is
itself in the public domain.
Consistent Gewgaw Interface
We're still working this out, but the idea is that these gewgaws present a simple, consistent interface for injecting themselves into an HTML5 page (giving themselves their own "standard UI"; but this is of course optional, and they can be manually instantiated too.)
You ought to be able to say something like this to start any of these gewgaws:
<script src="some-gewgaw.js"></script>
<script>
launch('../path/to/scripts', 'element_id', config);
</script>
...where element_id is the id of a container div (probably) somewhere
in the page. The launch function will create the UI elements needed for
the gewgaw (often a canvas and a control panel div) inside this container.
Calling launch() will load any Javascript resources required by the
gewgaw. config is an optional object which will be passed to the gewgaw's
init() method, and may specify locations of other resources such as images.
There should maybe be some kind of "full window"/"fullscreen" flags in there too — "full window" would expand the container to fill the browser window, and "full screen" would probably add a full-screen-ifying button.
Commit History
@master
git clone https://git.catseye.tc/HTML5-Gewgaws/
- Use yoob.Animation from yoob.js 0.6 where applicable. Chris Pressey 12 years ago
- Upgrade yoob/sprite-manager.js dependencies to version 0.6. Chris Pressey 12 years ago
- Add some common files from yoob.js version 0.6. Chris Pressey 12 years ago
- Fix references to common yoob.js files in HTML files. Chris Pressey 12 years ago
- Update yoob.js files to version 0.5 (no real change, really.) Cat's Eye Technologies 12 years ago
- Fix links to Javascript files. catseye 12 years ago
- Don't know what that was doing there. catseye 12 years ago
- Factor out yoob.setUpProportionalAnimationFrame, and use it. catseye 12 years ago
- Use yoob.setUpQuantumAnimationFrame() in A Non-Random Walk. catseye 12 years ago
- Use the quantum animation thing in Chzrxl, too. catseye 12 years ago
- Use yoob.setUpQuantumAnimationFrame in Fibonacci Spiral. catseye 12 years ago
- Use yoob.setUpQuantumAnimationFrame() in Fingerspelling. catseye 12 years ago
- Use yoob.setUpQuantumAnimationFrame in Heronsis Hermnonicii. catseye 12 years ago
- Use yoob.setUpQuantumAnimationFrame in Hirsute Miasma. catseye 12 years ago
- Refactor into yoob.setUpQuantumAnimationFrame(). catseye 12 years ago
- Attempt to make Hypongtrochoid's animation smoother. catseye 12 years ago
- Attempt to make Prairie smoother. Not really successful...? catseye 12 years ago
- Attempt to make animation smoother (time param of reqAnimFrame.) catseye 12 years ago
- Add yoob.js' full-screen-detector. catseye 12 years ago
- Add _The Frame_. catseye 12 years ago
- Use time parameter in requestAnimationFrame. catseye 12 years ago
- Code "Progression" using Javascript's idioms. catseye 12 years ago
- don't forget to commit catseye 12 years ago
- If the control is not there, it will be `null`, not `undefined`. catseye 12 years ago
- Add "Fibonacci Spiral" gewgaw. Cat's Eye Technologies 12 years ago
- Make percent to hold fixed configurable during init(). catseye 12 years ago
- Make Hirsute Miasma and Progression run at a more decent speed. Cat's Eye Technologies 12 years ago
- Use requestAnimationFrame (naively) instead of setInterval. Cat's Eye Technologies 12 years ago
- Consolidate yoob.js files to common directory. Cat's Eye Technologies 12 years ago
- Upgrade all yoob.js modules to 0.5. Cat's Eye Technologies 12 years ago