Skip to content

Instantly share code, notes, and snippets.

View aurelianonava's full-sized avatar

Azini aurelianonava

View GitHub Profile
@aurelianonava
aurelianonava / index.html
Created October 6, 2017 15:46 — forked from Mesparza99/index.html
Rotate point around ellipse// source https://jsbin.com/yobuko
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Rotate point around ellipse">
<script data-require="p5.js@*" data-semver="0.5.7" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.min.js"></script>
</head>
<body>
@aurelianonava
aurelianonava / index.html
Last active October 6, 2017 15:34
Rotate point around ellipse// source https://jsbin.com/yobuko
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Rotate point around ellipse">
<script data-require="p5.js@*" data-semver="0.5.7" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.min.js"></script>
<script src="script.js"></script>
</head>
@aurelianonava
aurelianonava / index.html
Created October 5, 2017 19:28 — forked from dannyalberto/index.html
Project 2, Version 1// source http://jsbin.com/dafopin
<!DOCTYPE html>
<html>
The reason for the movement of the circle is because of the greater sign(>) next to the x variable, in the ''if conditional statement''( if (x>240) ).The greater sign makes the x variable move into the direction the sign points to,
therefore replacing a greater sign instead of a number.With this, the Function draw runs 60 times a second, while this happening, the speed what picked up and then moved(the if conditional statement , the greater sing changed on the x axis of the funcion).
<head>
<meta name"description" content=""[Projec for issue #16 and explanation]">
<title>Project 2, Version 1</title>
<script data-require="p5.js@*" data-semver="0.5.7" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.min.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="script.js"></script>
@aurelianonava
aurelianonava / index.html
Created October 5, 2017 18:39 — forked from Outrights/index.html
Create and Call a function
<!DOCTYPE html>
<html>
<head>
<script data-require="p5.js@*" data-semver="0.5.7" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.min.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="script.js"></script>
<title>Experimenting with creating my own functions</title>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<meta name="random();" content="Using random(); with point();">
<script data-require="p5.js@*" data-semver="0.5.7" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.min.js"></script>
<Title>Using random();</Title>
<script src="script.js"></script>
</head>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>template.js</title>
<script data-require="p5.js@*" data-semver="0.3.0" src="https://rawgit.com/lmccart/p5.js/0.3.0/lib/p5.js"></script>
<script data-require="p5.dom.js@*" data-semver="0.3.0" src="https://rawgit.com/lmccart/p5.js/0.3.0/lib/addons/p5.dom.js"></script>
<script src="script.js" type="text/javascript"></script>
@aurelianonava
aurelianonava / 0_reuse_code.js
Last active August 29, 2015 14:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console