DEV Community

Chris Godber
Chris Godber

Posted on

Streaming Video Textures and Webcam Feed with A-Frame - WebVR

A fun experiment with A-Frame / WebVR to use videos as textures and to stream webcam video to create a trippy room using the users webcam and videos as textures.

Live version:
https://zonescanner.com/fractalfaces/

Sourcecode:
https://github.com/drnoir/Streaming-Video-textures-and-Webcam-Feed-with-A-Frame

Top comments (4)

Collapse
 
gabrielesacchi profile image
gabriele-sacchi • Edited

Do you know if I can stream a website as texture and be able to interact with the site? (Eg. Display a website on a monitor in a VR room)
Thanks

Collapse
 
drnoir profile image
Chris Godber

I was playing around this package recently that might be able to achieve that yes github.com/mayognaise/aframe-html-... hope it helps - you can definitly render html elements onto a aFrame entity with it, I know that much.

Collapse
 
hquanitute profile image
Hoang Quan • Edited

Can i stream video with HLS by this way

Collapse
 
drnoir profile image
Chris Godber

Sorry but I'm not sure