Settings

Theme

Boring Laser Eyes Simulator: Add laser beams to your eyes with your webcam

23 points by frankhsu 22 days ago · 5 comments · 1 min read

Reader

https://winterx.github.io/laser-eyes-simulator/

Needed a break from my main project, so I threw together this Laser Eyes Simulator. It's a silly little thing that adds laser beams to your eyes using your webcam. Downloadable images. Hope you enjoy!

Gemini 3 Prompt:

- Use the computer's front-facing camera

- Use `mediapipe` lib to capture facial landmarks

- Use `threejs` to apply a LASER EYE effect to the face captured by the camera based on the real-time 3D landmark information provided by `mediapipe`

HPsquared 13 days ago

The image comes out very vertically squashed on my phone in portrait mode (the natural orientation you'd use for this). It works fine if I have the phone in landscape mode, but then the camera is off to the side.

Very cool to be able to see the wireframe!

Webcam MegaPixels: 4.80 MP

Webcam Resolution: 1472×3264

EDIT: but overall this is very cool, it's good for a profile pic.

IAmBroom 13 days ago

Interesting. When I look to the side, my hidden eye suddenly shifts downwards instead of to the side, making me into a sort of laser-eyed-flounder.

sdenton4 13 days ago

i've got laser eyes and i know what you're thinking comes as no surprise that christmas lights are blinking

https://www.youtube.com/watch?v=AJWSu9M4ffQ

xnx 13 days ago

Amazing what Gemini can do

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection