Skip to content

Instantly share code, notes, and snippets.

<!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>
@conorbuck
conorbuck / Light Theme.html
Last active December 18, 2015 11:39
Light Theme
<!-- 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 December 18, 2015 11:38
Dark Theme Demo
<!-- 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 22:51
JavaScript: Find the angle between two points
var p1 = {
x: 20,
y: 20
};
var p2 = {
x: 40,
y: 40
};