Skip to content

Instantly share code, notes, and snippets.

Avatar

Conor Buckley conorbuck

View GitHub Profile
View Aviary Web Editor Hi-Res
<!DOCTYPE html>
<html>
<head>
<title>Aviary Web Editor</title>
</head>
<body>
<img id="test" src="http://images.aviary.com/imagesv5/feather_default.jpg" />
<script src="http://feather.aviary.com/imaging/v2/editor.js"></script>
View Light Theme.html
<!-- Load Feather code -->
<script type="text/javascript" src="http://feather.aviary.com/js/feather_beta.js"></script>
<!-- Instantiate Feather -->
<script type='text/javascript'>
var featherEditor = new Aviary.Feather({
apiKey: 'YOUR_KEY',
apiVersion: 3,
tools: 'all',
appendTo: '',
@conorbuck
conorbuck / Dark Theme.html
Last active Dec 18, 2015
Dark Theme Demo
View Dark Theme.html
<!-- Load Feather code -->
<script type="text/javascript" src="http://feather.aviary.com/js/feather_beta.js"></script>
<!-- Instantiate Feather -->
<script type='text/javascript'>
var featherEditor = new Aviary.Feather({
apiKey: 'YOUR_KEY',
apiVersion: 3,
tools: 'all',
appendTo: '',
@conorbuck
conorbuck / angle-between-points.js
Created May 5, 2012
JavaScript: Find the angle between two points
View angle-between-points.js
var p1 = {
x: 20,
y: 20
};
var p2 = {
x: 40,
y: 40
};