Skip to content

Instantly share code, notes, and snippets.

@ebhoren
Created September 15, 2017 18:19
Show Gist options
  • Save ebhoren/e62e6d23c7c0f3472846c44512fd7d21 to your computer and use it in GitHub Desktop.
Save ebhoren/e62e6d23c7c0f3472846c44512fd7d21 to your computer and use it in GitHub Desktop.
A-Frame curved image formula
aspect = image width / image height
height = (2 * Math.PI * radius * theta-length) / (360 * aspect)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment