How to Recreate the Seven Kingdoms Knighting Ceremony using Device Orientation

Featuring Ser Jaime Lannister and Ser Brienne of Tarth

Image for post
Image for post
Arise, Brienne of Tarth, a knight of the Seven Kingdoms.
let sound = new Howl({
src: ['knighting.mp3'],
sprite: {
kneel: [0, 2660],
warrior: [2930, 4240],
father: [8050, 5280],
mother: [14340, 4820],
arise: [19580, 6030]
let steps = [90, 0, 90, 0, 90, 0, -90]
window.addEventListener("deviceorientation", (event) => {
// event.beta
}, true)
switch(step) {
case 1:'warrior')
case 3:'father')
case 5:'mother')
case 6:'arise')

Written by

I develop websites for rock 'n' roll bands and get paid in sex and drugs. Previously Silva Artist Management, SoundCloud, and Songkick. Currently: Available

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store