← GENERATIVE GLASSES

GENERATIVE GLASSES #9

by C4RC0

GENERATIVE GLASSES #9 static token preview
Full screen

Static preview.

Project

After 4 months of coding the Generative Glasses is ready! I gained a lot of experience along the way and I really liked the creation process.

I wrote an article in which I report on the creation process in more detail. It can be found at the bottom of the page for related articles.

πŸ‘“ thousands of different outputs are possible
πŸ‘¨β€πŸ’» only code
🎨 3D (#webGL #threejs) and 2D (#html5canvas) layers
πŸŽ₯ animated
πŸ–±οΈ interactive (+controls for mobile)
😎 augmented reality view
πŸŸ₯ different previews: abstract view, product design view, and 2 other view
πŸ–ΌοΈ save images from current view in 4k - 3 different aspect ratio
πŸ“Ό save animation (from server side) on http://carco.hu

Compositions:

  • There is an abstract view where the parts of the glasses are scattered
  • There is a front-right view
  • Front-left view
  • Top view
  • Product design view that converts to split screen
  • Front view where the object falls apart and starts from the abstract view again

First, one of the 6 compositions comes in and the animation starts. The system randomly determines which composition should be the first in the line. This will also be the saved image that the fxhash system creates.

If you don't click or touch anything, the animation will loop continuously. If you click into the area anywhere, the controller will appear and the animation will stop. Until you get to the next composition and the animation stops, the pause button flashes until now you can't press anything, all buttons are disabled. If the animation has stopped, the buttons are enabled again, and you can move the camera in 3D space by dragging.

The controls have left and right arrows that can be used to step between compositions. The animation restarts with the play button.

There are also a few other buttons:

  • There is a save button which is a floppy disk. A menu will then appear, offering to save images of different proportions, with the default aspect ratio generated by the program code at the top. (Opening in a new window is required to save an image)

  • There is a camera icon that restores the original camera view. It is worth pressing this before saving.

There are options that are not available for all compositions, they only appear if they are enabled in current composition:

  • Switch split screen to main camera view, and back (4 squares icon)
  • Shows and hide Editing lines (pair of compasses)
  • Shows and hide Callout notations (pencil and ruler)
  • Shows AR view and stop it (cube icon) (Opening in a new window is required to AR view, more info below)

Keyboard controls:

Press β€œ5” to save image to default aspect ratio
Press β€œ6” to save image to square aspect ratio
Press β€œ7” to save image to portrait aspect ratio
Press β€œ8” to save image to landscape aspect ratio

(Opening in a new window is required to save an image)

Press β€œArrowDown” for restores the original camera view
Press β€œD” to switch to next composition
Press β€œA” to switch to previous composition
Press β€œS” to start animation
Press β€œSpacebar” to switch to split screen (if it is available)
Press β€œ1” to hide/show Editing lines (if it is available)
Press β€œ2” to hide/show Callout notations (if it is available)
Press β€œ3” to hide/show AR view (Opening in a new window is required to AR view, more info below)

AR view

If you have a camera on your device, you can try out how such glasses would suit you. This function is not available for all compositions, so if you cannot find the cube icon, tab to the next composition and click on the cube icon. I created this function with the help of Tensorflow face landmark detection package. It's not perfect, there are delays, but it's good enough to try out the glasses.

More information on how were made Generative Glasses in the related article below.

Thank you for your attention! Thanks for the support! Thanks for the opportunity fxhash and genart community! I hope I was able to contribute to generative art with my work!

@C4RC0
carco.hu

Price history

DateEventPriceMarket
2023-04-04Mint10 tezfxhash issuer v2
Last completed sales index sync
fx(params) mint tickets
Block 15289815
fxhash issuer v1 (first)
Block 15289815
fxhash issuer v1
Block 15289815
fxhash issuer v2
Block 15289815
fxhash issuer fx(params)
Block 15289815
fxhash marketplace v2
Block 15289815
fxhash marketplace v1
Block 15289815
objkt.com marketplace v1
Block 15289815
objkt.com English auctions v2
Block 15289815
objkt.com marketplace v2
Block 15289815
objkt.com English auctions v1
Block 15289815
objkt.com marketplace v3.2
Block 15289815
objkt.com collection offers
Block 15289815
objkt.com English auctions v3
Block 15289815
objkt.com marketplace v3.1
Block 15289815
objkt.com Dutch auctions v1
Block 15289815

Traits

1. Item type
Glasses210 of 425 indexed editions Β· 49%
2. Frame
Rimless208 of 425 indexed editions Β· 49%
3. Symmetry
Asymmetrical75 of 425 indexed editions Β· 18%
4. Material thickness
1109 of 425 indexed editions Β· 26%
5. Color scheme
Laguna blue metal18 of 425 indexed editions Β· 4%
6. Temples height
565 of 425 indexed editions Β· 15%
7. Temples tip (left)
L-shaped 839 of 425 indexed editions Β· 9%
8. Temples middle (left)
L-shaped 743 of 425 indexed editions Β· 10%
9. End piece (left)
Boxes 1037 of 425 indexed editions Β· 9%
10. Lens (left)
Octagon-Transparent-43x39x21 of 425 indexed editions Β· 0%
11. Bridge
1.7-Boxes 831 of 425 indexed editions Β· 7%
12. Lens (right)
Rectangle-Transparent-43x28x22 of 425 indexed editions Β· 0%
13. End piece (right)
L-shaped 4111 of 425 indexed editions Β· 26%
14. Temples middle (right)
Boxes 1123 of 425 indexed editions Β· 5%
15. Temples tip (right)
L-shaped 1217 of 425 indexed editions Β· 4%
16. Product Number
GRLA1LB5-L8L7-B10OT43x39x2-1.7B8-RT43x28x2L4-B11L121 of 425 indexed editions Β· 0%
17. Product Created
04/11/20223 of 425 indexed editions Β· 1%
18. Default Aspect Ratio
4K landscape148 of 425 indexed editions Β· 35%
19. Preview type
Front-left102 of 425 indexed editions Β· 24%