Skip to content

Repository files navigation

Perfect Gem

A browser-based analysis and design tool for faceted gemstones. Check it out here: https://bogdanthegeek.github.io/PerfectGem/

Features

  • Works on desktop(WebGL supported Browsers) and mobile(Android and iOS).
  • Import and export .asc, .gem, .stl, and .gcs designs1
  • Adjust stone colour, RI, dispersion etc.
  • Adjust focal length and internal resolution.
  • Performance graphs for ISO, COS, SC2.
  • Multiple tilt animations
  • Export animation as .mp4 video
  • Print faceting diagrams
  • Integrated with the largest online database of desings.

Experimental:

  • Add and remove facets.
  • Meetpoint faceting.
  • Scale all Crown and Pavilion angles for the best performance

History

While working with Robert Strickland on open-sourcing GemRay, which is now available here, I started playing around with trying to do the same in the browser. I have wanted to use WebGPU for a while, so this seemed like a good opportunity. I vibed a prototype in a few days, then spend a few more weeks polishing the edges.

Footnotes

  1. Full feature compatibility may vary.

About

Realistic Gem Rendering on the web

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages