This is the 8k JavaScript intro Ninja Style! [pouet]
Go fullscreen (press F11), and select one of the versions below:
In case you're unable to watch the demo, or if you get low frame rates, you can always check out the video:
The name "Ninja Style!" refers both to the ease at which the GPU pulls off real time ray tracing and the music that is a remake of a C64 tune from the game The Last Ninja from 1987 by Ben Daglish.
The C64 shader in the beginning & end and the font are also related to the C64, on which the game was a huge hit back in the days.
This demo has been tested on several machines in different browsers.
An important note: Windows users may have to configure their browser to use native OpenGL instead of DirectX/Angle!
Ninja Style has been tested on:
Machine | OS | GPU | Browsers | Works? | Comment |
---|---|---|---|---|---|
Custom i7-3930K workstation | Ubuntu 14.04 | GeForce GTX 760 | Firefox, Chrome, Opera | Yes | |
Mac Mini | OS X 10.9.5 | Intel HD 4000 | Firefox, Chrome, Opera | Yes | No animation in Safari (missing performance.now()?) |
Lenevo Thinkpad E335 | Windows 8.1 | Radeon HD 7340 | Firefox | Yes | Force native OpenGL. Chrome hangs with --use-gl=desktop |
Lenevo Thinkpad E335 | Ubuntu 14.04 | Radeon HD 7340 | Firefox, Chrome | Yes | Requires proprietary drivers (fglrx). |
LG G2 | Android 4.4.2 | Adreno 330 | Firefox | Yes | Slow... Pinch-zoom for acceptable frame rates. Chrome & Opera can't play the data URI music. |