<html>
<head>
<title>Paranoid — Shiny Demos</title>
<meta charset="utf-8">
<meta name="viewport" content="width=372, user-scalable=no">
<link rel="stylesheet" href="styles/style.css">
<link rel="stylesheet" href="/styles/panel.css">
</head>
<body>
<div id="container">
<h1>Paranoid 0.4</h1>
<canvas id="bouncy" width="360" height="378"></canvas>
<div id="controls">
<h2>Instructions</h2>
<p>To control the paddle, use the mouse, touchscreen or keyboard.</p>
<dl>
<dt>(a)</dt>
<dd>toggle autopilot</dd>
<dt>(<)</dt>
<dd>move left</dd>
<dt>(>)</dt>
<dd>move right</dd>
</dl>
</div>
<p id="autopilot">Autopilot</p>
</div>
<script src="/scripts/modernizr.js"></script>
<script src="/scripts/panel.js"></script>
<script src="scripts/options.js"></script>
<script src="scripts/PxLoader.js"></script>
<script src="scripts/PxLoaderImage.js"></script>
<script src="scripts/script.js"></script>
<body>
<script>
/**
* PixelLab Resource Loader
* Loads resources while providing progress updates.
*/
function PxLoader(settings) {
// merge settings with defaults
settings = settings || {};
// how frequently we poll resources for progress
if (settings.statusInterval === null) {
settings.statusInterval = 5000; // every 5 seconds by default
}
// delay before logging since last progress change
if (settings.loggingDelay === null) {
settings.loggingDelay = 20 * 1000; // log stragglers after 20 secs
}
// stop waiting if no progress has been made in the moving time window
if (settings.noProgressTimeout === null) {
settings.noProgressTimeout = Infinity; // do not stop waiting by default
}
var entries = [], // holds resources to be loaded with their status
progressListeners = [],
timeStarted,
progressChanged = +new Date();
/**
* The status of a resource
* @enum...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.