project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Ligmex

Ligmex is a VR interface to the Lens social graph which allows a user to create, share and explore 3D artwork and live streams alongside traditional image and video posts.

Ligmex

Created At

ETHOnline 2022

Winner of

trophy

🥈 Livepeer — Best Use

Project Description

Ligmex enables users to post 3D art ('.glb', '.gltf' format) to the lens social graph and to explore galleries of their followers 3D art alongside traditional image and video posts.

Ligmex supports XR compatible devices (like Meta Quest2), as well as traditional desktop and mobile browsers. On XR supported browsers (eg. Oculus Browsers), users can enter VR mode to interact with 3D artwork and walk around to explore their virtual gallery.

On desktop/mobile browsers, Ligmex supports live streaming powered by livepeer. From within the app, users start their own live streams and users with a VIP Access Tokens can tune into live steam via both XR enabled and tradition browsers.

How it's Made

Ligmex relies on the browser's WebGL API to create & display 3D models across all platforms that support a modern web browser. We used the BabylonJS library to interact with the WebGL API to create a Metaverse scene and render it on the browser's canvas.

Ligmex also uses BabylonJS to import and upload 3D objects. This process involves:

  • Using the wagmi library to allow the user to connect their crypto wallet either natively (eg via the Metamask browser plug-in) or using WalletConnect which enables seamless interactions with the blockchain from devices such as VR headsets that don't provide native crypto support.
  • It uses apollo to interact with the Lens API. Using the previously established crypto wallet connection, it requests the user to sign an authentication message and saves the resulting access token in localStorage.
  • The Ligmex server features an IPFS node. Users who supply a VIP access token are permitted to upload 3D art to our hosted server which makes their artwork available to the wider IPFS network.

We used Lens Protocol for base social graph layer & for artwork discovery. The versatile 'animated_url' support in lens' post metadata standard allowed us to create an immersive social experience. Even without connecting a wallet, users can provide a Lens handle to explore the social graph from that profile's point of view.

For live video streaming, we used Livepeer to take advantage of the decentralized network of video transcoders. Live streams can be started or viewed from inside the 3D space using a similar component as is used to display video posts from Lens.

background image mobile

Join the mailing list

Get the latest news and updates