szmtag

HTML5 Webcam:

There goes the last Reason to use Flash, Photobooth.js: „HTML5 Webcam for your website.“ (via Waxy)

IBM PC Model 5150 JavaScript-Simulator:

JavaScript Machines IBM PC Model 5150: Der allererste IBM PC (Model 5150) als JScript-Simulation im Browser: “the simulation is fully functional on all modern browsers (that I’ve tested). It’s booting the original IBM PC Model 5150 ROM BIOS (no modifications), and it’s loading the original MDA/CGA fonts.”

HTML5 Retro Crackercrew-Intros

We Are Back ist das Showcase für das Codef-Javascript-Framework, mit dem man die Intros der Crackercrews aus den 80ern und 90ern in HTML5 nachbauen kann. Vor allem Amiga-Intros dort bis jetzt am Start, soweit ich das sehen kann und von denen finde ich das hier particular awesome. Mal sehen, ob ich damit was basteln kann, nicht wundern, wenn demnächst auf NC irgendwas rumdotzt. Von Creative JavaScript:

Out of the box [Codef] has functions for such classics as vector balls, sine-waves, bitmap font scrollers, glenz vectors (faked of course), rasters, starfields and plenty more. There is also a basic sequencing system allowing you to chain effects together, or feed one into another. An examples folder provides plenty of source for you to get up to speed with and while the whole library certainly takes a very ‘hacked together’ approach, often flying in the face of any kind of web standard or best practise, it’s all just for fun anyway. Plus there’s something very rewarding about throwing a few lines of code together and seeing a large parallax scroll plane with some stars flying past.

The site We Are Back is then used to showcase the demos that get created with codef. They range from complete re-creations of classic intros and cracktros, such as those from the likes of Paradox and Crystal, to new demos inspired by the oldskool vibe. There are loads to watch and depending on your age they’ll either bring back waves of 16-bit nostalgia or be little more than audio-visual curios.

Cracked on 03/27/93 by Paradox

Annoying.Js: How to be an Asshole with Javascript

Kilian Valkhof hat in einer einzigen Functions.js alle Javascripts zusammengefasst, die das Benutzen von Website möglichst unangenehm machen und garantieren, dass möglichst wenige Leute auf die Seite kommen:

In January I came across a website that had a whole slew of JavaScript that attempted to prevent you from selecting text, right clicking or dragging any content onto your desktop. I decided to copy the JavaScript and create a library with examples of JavaScript techniques you can use if you want to scare your visitors away, or want to piss them off. Annoying.js is the result.

* Resize the window to fullscreen (1024×768 always)
* Disable right click so users can not copy!
* Make certain we’re not loaded into an iframe
* Disable users dragging photos or text to they can’t copy them
* Disable users selecting text to they can’t copy them
* Most users accidentally close the web page. Remind them of this.
* Disable users copying text via shortcuts

Annoying.Js: How To Be An Asshole (via Waxy)

Retrogame per JavaScript im Favicon zocken

Ich habe grade Defender gespielt. Im Browser, im Favicon. Whooohoo! Läuft allerdings nicht in Internet Explorer und Safari.

DEFENDER of the favicon was done in 3 nights, from start to finish. Each frame of the game is generated on the fly in JavaScript into a 16×16 canvas element, then converted to a 32bits PNG image and used in place of the favicon. The core of the game act as a state machine. Notice a few details such as the pause when this window is not focused, and the resuming and game over transitions.

Obviously since this little game makes use of canvas and the toDataURL method, it does not work in Internet Explorer, and Safari does not seem to support PNG favicons. Prefer Opera or FireFox, although FireFox 3 suffers from garbage collection hick ups when playing in the favicon.

Link (via)

14k Javascript-Supermario

mario.gif

Das nenne ich mal eine Coding-Leistung: CupBoy hat Super Mario nachprogrammiert. In JavaScript. Und der Code ist komprimiert grade mal 14 Kilobyte groß. Zwar lediglich das erste Level und das ohne richtiges Ende, aber trotzdem: das nenne ich mal krasse Programmier-Skills!

Link (via)