News for hackers. Stuff that matters.

iaincollins

Show HN: MicroState – JavaScript City Builder

https://microstate.neocities.org

I’ve been working on MicroState, a city builder prototype written entirely in vanilla JavaScript using the HTML5 2D Canvas API.My goal was to see how far I could get with a 2.5D isometric style simulation with vanilla JavaScript built very simply and drawn entirely with procedural generation for maps, tiles, roads, trees, buildings, etc.The most interesting element is probably the terrain...

( Read More... | no comments | 3 points | on HN )
Re:Retrospective on a horizontal product failure to launch on Monday January 18, 2016 @01:34PM (#10925977)
I tried, and didn't do terribly well, at launching a horizontal web based product and this a short retrospective.

It's a bit light on details but I'm happy to answer any questions for anyone who going through (or thinking about trying) to do something similar.

I'd also find it interesting if anyone wants to pick it apart or press for details (feel free to be blunt).

Re:NPM to turn JS libraries into RESTful web services on Tuesday August 05, 2014 @03:08AM (#8135871)
Hmm yeah, doh!
Re:NPM to turn JS libraries into RESTful web services on Monday August 04, 2014 @09:20PM (#8135059)
This is a module for node.js which turns other modules into RESTful JSON based web services. It also auto-generates some documentation and web based forms so you can try them out.

It's handy if you a have a module or simple library that does something you want to expose to other people or that you want to be able consume from another platform (e.g. to leverage functionality in a node library from an app written in another language or from a browser).

Despite the hacky nature of it I've hooked up a demo against a dozen or so existing services: http://service-o-matic.iaincollins.com (I expect this will probably break)

It's a hack created in an afternoon, there are no tests yet, it only supports GET and doesn't work with all modules. It's intended to spark a bit of interest in this approach to service creation (auto-generated web services already being something that .NET and to a slightly lesser extent Java both do well).

I'd be up for working/collaborating on it further if there is sufficient interest (adding tests, new features, docblock parsing, JSON-schema generation, support for currently unsupported modules, etc).

Re:GIFlinks on Monday July 07, 2014 @05:37PM (#8001611)
It's good, but even better turned up to 11 with audio support: http://iaincollins.com/giflinks/demo/
Re:Ask HN: Can we get a "Show HN:" section on Thursday May 15, 2014 @06:12AM (#7748642)
I'd really like this.

I've been reluctant to post things I've worked on (mostly open source projects, some commercial) that I think some people might be interested in because I don't want to add to the noise ratio for others (I've set a high threshold for posting, which seems appropriate, and most of those things are early stage and I don't think they are quite there yet).

It would be great if there is an area for products - including non-profit open source / vanity projects - where it felt a little less disruptive and intimidating to post new projects - particularly early life ones.