My JavaScript-powered webcomic at NeoCities.
JavaScript HTML CSS Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
characters
coded
js
.gitignore
LICENSE.txt
README.md
comics.json
comics.min.json
favicon.png
humans.txt
index.html
loading.gif
not_found.html
prepare.rb
robotandhuman.css
robotandhuman.min.css
templates.html

README.md

Robot & Human: A Webcomic

Robot & Human is a JavaScript-powered webcomic. The strips are stored in a JSON file, and jQuery and CSS are used to display the strips on the page. PNGs are used for the characters.

The point of this exercise was to make a webcomic that could work on NeoCities, a web host with a small storage limit and no support for server-side scripts. (Of course, this was back around the time of the site's initial launch, when the storage limit was 10 MB. Now that it's up to 100 MB, you could probably fit a fair amount of full-sized cartoons into a single NeoCities account.)

If you like webcomic tools and/or comics about robots and humans, then you should also check out another project of mine, the Poor Man's Comic Publisher.

Dependencies

The comics are displayed using jQuery and two jQuery plugins, jCanvas (to draw the dialogue tags) and ScrollTo (for animated scrolling). These files are all included in this repository. You could probably use different versions of them if you wanted to.

Hyphenator.js is optional; you could use a different build, or not use it at all. But if the characters tend to use long words, you'll probably at least want to hyphenate them manually.

A Ruby script is run to generate the Atom feed and minify the CSS and JSON files. It requires the gems CSSminify, json-minify, json_pure, and tinyatom. The gems are of course not included in this repository.