Skip to content

Latest commit

 

History

History
17 lines (8 loc) · 1.05 KB

README.md

File metadata and controls

17 lines (8 loc) · 1.05 KB

Resin Flowers

You have probably heard of epoxy resin. The technique to preserve flowers in a crystal clear substance that hardens to showcase flowers.

Example from Google Images:

I wanted to try a similar technique but using code instead. I was inspired by this codepen and the thought crossed my mind that this would be a cool idea to implement: https://codesandbox.io/s/aquarium-forked-8j36ok.

The code uses React Three which is a wrapper on WebGL (Web Graphics Library). By dragging the mouse around, the glass moves so you can see it from different angles.

Screenshot 2023-04-15 at 9 07 40 PM

Screenshot 2023-04-15 at 9 08 44 PM