DailyJS

DailyJS

The JavaScript blog.


Tagcompetitions
Featured

graphics testing games competitions angularjs biology

Js13kGames, Angular Plasmid

Posted on .

Js13kGames

Andrzej Mazur wrote in to say that the Js13kGames competition has started. All entries must be in by the 13th of September. It's a competition to build HTML5 games in 13 kilobytes, and that includes all assets. If you want sounds and complex graphics then it might be advantageous to procedurally generate certain things.

All your code and game assets should be smaller than or equal to 13 kilobytes (that's exactly 13,312 bytes, because of 13 x 1024) when zipped. Your package should contain index.html file and when unzipped should work in the browser.

The competition has a theme, so entries should somehow encapsulate the elements:

The main theme of the competition in 2014 is The Elements: Earth, Water, Air and Fire. It is optional, so you can use it, use part of it (one Element), or drop it. Remember that there will be bonus points for implementing the theme in your game.

Andrzej wrote a tutorial for tuts+ about minifying games, and he created the game Triskaidekaphobia to promote the competition.

Angular Plasmid

Angular Plasmid

Angular Plasmid (GitHub: vixis / angularplasmid, License: MIT) by Rehan Chawdry is an AngularJS library for biological plasmid visualisation:

Rather than coding client-side JavaScript or other server-side programming languages, AngularPlasmid provides easy-to-use HTML markup, making plasmid generation as easy as creating a web page. In fact, you don't really neeed to know anything about AngularJS or JavaScript to use the components, as one of the download options bundles everything together for you.

The basic tutorial explains how to create a visualisation using markup rather than having to write JavaScript, so it should appeal to biologists who want to create rich HTML documents that aren't programmers. In fact, Angular seems like a good choice for this type of visualisation in that you can use it declaratively.

Featured

games services node competitions

js13kGames, simplex-noise.js, Media Chooser, User Message Queue

Posted on .

js13kGames

js13kGames

js13kGames is a HTML5 and JavaScript game development competition. It's currently open for entries, and the competition will close on the 13th September 2012. The basic rule states that entries must be less than 13 KB, but please read through all of the rules before entering.

The judges include Michal Budzynski (Firefox OS developer) and Rob Hawkes (Mozilla), and the competition was organised by Andrzej Mazur.

simplex-noise.js

simplex-noise.js (npm: simplex-noise) by Jonas Wagner is a simplex noise implementation, which is often used to generate noise for graphics. The author has posted a plasma demo to jsFiddle.

Media Chooser

Media Chooser (GitHub: chute / media-chooser) from Chute is a client-side library for working with Chute's media API. Files can be uploaded or selected from social networks like Facebook and Instagram. It's an extremely simple way of accepting file uploads in a single page application without the traditional server-side requirements.

User Message Queue

User Message Queue (License: MIT) by Robert Murray is a FIFO message queue. It allows messages to be pushed to a queue that will be displayed one after another in a suitable container element. It's simple and lightweight, so it might work well in combination with a client-side toolkit like Bootstrap.

Featured

graphics competitions webgl desktop

J3D, GL64K, node-webgl

Posted on .

J3D

J3D is a 3D library for WebGL that has a Unity3d object/scene exporter. The author
wrote a blog post about it entitled Taming
WebGL

with some background on the library:

J3D is a very simple engine that can load 3D models and textures, has a scene with a hierarchy of objects and can render everything using basic lights. Somewhere on the way I added the feature to export models from Unity3d which I thought would make the job of preparing assets much easier.

GL64K

GL64K is a competition to create a WebGL demo in 64k. If you're not familiar with what they're expecting, there's an
example called Glass. The first
prize is \$2000 and a copy of the OpenGL ES 2.0 Programming Guide, and
entries must use skeleton.html.
There's only 7 days left to enter the competition!

node-webgl

I keep asking myself, "how can I write desktop-based OpenGL with Node?"
It seems like Brian McKenna is working on a solution with
node-webgl. It looks like the project is in early stages yet, but there's a blog post with a
screenshot to prove it works: node.js
WebGL
.

I hope to see more Node desktop integration.

Featured

server databases node competitions logging

Node Roundup

Posted on .

Welcome to the Node Roundup. Send in your apps and libraries using our
contact form or @dailyjs.

Lodge

Lodge is a HTTP to syslog proxy by Kord Campbell. Logging to Lodge is straightforward:

curl -d "127.0.0.1 - all work and no play makes Jack a dull boy" https://localhost/inputs/d00dadc0ffee

It's a fairly simple little script, and can work with Syslog-NG.
Campbell has written up a detailed blog post with some useful examples
in Lodge: A HTTP to Syslog Proxy with
Node.js
.

Node.js and MongoDB

I noticed Node.js and
MongoDB

on How to Node which is a brief roundup of popular
MongoDB libraries for Node. The issue of indentation is mentioned in reference to the
mongodb-node-native library, which Mongoose attempts
to solve.

My personal projects have been mongodb-node-native so far, with my own
wrappers to cut down syntax. I haven't actually used Mongoose in anger
still, but it might be time to switch.

Which database best fits node.js?

Which database best fits node.js
is a thread on the nodejs mailing
list
. In it people voice their
support for various SQL and NoSQL databases.

I recently predicted that if you wrote a blog post containing references
to NoSQL, benchmarks, and Node, the traffic from
Hackernews would turn your server into a blazing pile of slag. It's a hot topic, mainly because there's suddenly
so many good database options out there. I've had a lot of luck with
MongoDB and Node, how about you?

Node Knockout Winners

The Node Knockout
Winners
were
announced earlier this month. Swarmation was
the overall winner, which I had a lot of fun playing with.

The JS1k contest has also finished. The winner will
be announced at JSConf EU, which is on the 25th and 26th of September.

Featured

libraries events web competitions

Choco, JS1k

Posted on .

Choco

Choco by Anthony Heukmes is a framework for building web apps built from one HTML page. It's a bit like
Cappuccino and SproutCore, except a lot simpler. It's built from 3 other
libraries:

  • Sammy - a client-side, jQuery-based Sinatra style routing framework
  • js-model - a way of handling data structures in the client
  • Jim - yet another JavaScript package manager

Most of Choco seems to be built by Ruby developers, and the author has a
Rails 3 example project. If you're building Rails projects you might
find something useful here.

JS1k

Angus contacted us about JS1k which is a
conference to build a JavaScript demo in no more than 1024 bytes. This
doesn't include external libraries, but minification is allowed. The
conference is organised by Peter van der Zee, and it seems to have a
demo scene attitude about it.

There have been JavaScript related scene demos in the past (search
Scene.org), but it's good to see this type of thing in our area of interest and I hope JS1k gets some awesome entries.