This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvas" style="border: 1px solid black"></canvas> | |
<script> | |
setup(); loop(); setInterval(loop, 10); | |
///////////////////////////////////////////////// | |
var canvas, context, objects; | |
///////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvasElement" style="border: 1px solid black;"></canvas> | |
<script> | |
setup(); loop(); gameLoop = setInterval(loop, 75); | |
//////////////////////////////////////////////////////////// | |
var gameLoop, canvas, context, gridSize, gridByX, gridByY, grid, border, carSide, cars, ahead, startMoment; | |
//////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvasElement" style="border: 1px solid black;"></canvas> | |
<script> | |
setup(); setInterval(loop, 10); | |
//////////////////////////////////////////////////////////// | |
var canvas, context, hex1, hex2, radius; | |
//////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvasElement" style="border: 1px solid black;"></canvas> | |
<script> | |
setup(); gameLooping = setInterval(loop, 0); | |
//////////////////////////////////////////////////////////// | |
var gameLooping, canvas, context, mouseX, mouseY, PI2, controlCircles, cirlce; | |
//////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvasElement" style="border: 1px solid black;"></canvas> | |
<script> | |
setup(); gameLooping = setInterval(loop, 0); | |
//////////////////////////////////////////////////////////// | |
var gameLooping, canvas, context, mouseX, mouseY, PI2, circleR, circleB, circleG, mouseColor; | |
//////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvasElement" style="border: 1px solid black;"></canvas> | |
<script> | |
setup(); gameLooping = setInterval(loop, 0); | |
//////////////////////////////////////////////////////////// | |
var gameLooping, canvas, context, mouseX, mouseY, PI2, state, color, d, r, g, b; | |
//////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvasElement" style="border: 1px solid black;"></canvas> | |
<script> | |
setup(); gameLooping = setInterval(loop, 180); | |
//////////////////////////////////////////////////////////// | |
var gameLooping, canvas, context, sideOfSquare, head, snake, tail, direct, moved, points, eat; | |
//////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvasElement"></canvas> | |
<script> | |
var canvas = document.getElementById('canvasElement'), | |
context = canvas.getContext('2d'), | |
radius = 300, d_qu = 0; | |
setInterval(function () { | |
d_qu += 0.06; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Project: 'My first Arduino Project.' | |
* Description: 'Work by a lesson.' | |
* Autor: 'Aleksey Danchin' | |
* Date: '24.11.2014' | |
* Links: | |
* Lesson 1 (in Russian) | |
* http://www.youtube.com/watch?v=bO_jN0Lpz3Q#t=773 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(-> | |
"use strict" | |
angular | |
.module "internetModule", [] | |
.factory "internet", ['$rootScope', | |
($rootScope) -> | |
$rootScope.internet = {} | |
] |