Skip to content

Have you ever wanted to create an entire universe of art and music from your hardware authentication token? Well you're in luck!

Notifications You must be signed in to change notification settings

benjaminsaurusrex/WebAuthnArt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAuthnArt

https://www.webauthnart.com

Have you ever wanted to create an entire universe of art and music from your hardware authentication token? Well you're in luck!

What the heck is this?

This is weekend project to finally make something useful out of my web authentication devices. I've always been interested in generating art/music and using a hardware authentication token seems like a decent instrument to do so.

Some technical notes:

  • this is a React app
  • this is an uninjected create-react-app project
  • this is built using Typescript
  • this is using Tone.js to turn code into sounds.
  • this is using d3.js to do some quantization math, so I don't have to.
  • this is using an old-fashioned HTML5 <canvas> element to turn code into visual art.

v0.0.1

This first implementation doesn't do anything particularly fancy. It just uses the hardware authentication device's signed challenge as PRNG seeds. Then it uses the PRNG function created from those seeds for everything else (generating a random scale for the music, generating random gradient colors, generating a random length of time to play the next tone for, etc).

About

Have you ever wanted to create an entire universe of art and music from your hardware authentication token? Well you're in luck!

Resources

Stars

Watchers

Forks

Packages

No packages published