diff options
author | makefu <github@syntax-fehler.de> | 2013-12-30 03:09:34 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-12-30 03:09:34 +0100 |
commit | 4db3c97ab8a76bd28dc737755c331e89a671d162 (patch) | |
tree | 613dca51529b400e5a875c1599f495f7ba058b3d /Kübelwagen/sin.js | |
parent | 0b81bca953ec7cdf373ff97b11ebd6fb847d733f (diff) |
krebsuino -> god
Diffstat (limited to 'Kübelwagen/sin.js')
-rw-r--r-- | Kübelwagen/sin.js | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Kübelwagen/sin.js b/Kübelwagen/sin.js deleted file mode 100644 index 0f472715..00000000 --- a/Kübelwagen/sin.js +++ /dev/null @@ -1,37 +0,0 @@ - - - -var x = 3000; - -var t = 0; -var i = 0; -var j = 0.00001; -var t0 = new Date(); -(function rec () { - - var t1 = new Date(); - console.error('dt = ' + (t1 - t0)); - t0 = t1; - - if (x === 3000) { - x = 1000; - } else { - x = 3000; - }; - - console.log('2000 50 0 50 2000 50 0 50 ' + x + ' 100 0 0'); - return setTimeout(rec, 1000); - - i += 0.01; - console.log((2000 + Math.sin(i) * 1000 | 0) + ' 0'); - return setTimeout(rec, 1); - - var f = Math.abs(1000 + 500 * Math.tan( t )); - var scale = 1; - - console.log(((f * scale)|0) + ' 0'); - - t++; - setTimeout(rec, 100); - //process.nextTick(rec); -})(); |