Skip to content

Repository files navigation

Mol-xr

Molecules viewer in XR environment.

Usage

Edit file molxr.js to point to your model:

11: const OBJ_PATH = 'data/models/pdb/aspirin.pdb';

Install node: nodejs.org/en/download

Install dependencies and run server:

npm install
npm start

Open location in PC browser:

http://localhost:3000

use video from camera as background by clicking camera icon.

Enable developer mode on your headset.
Connect headset by USB and check connection:

.\bin\adb devices

Forward port to headset:

.\bin\adb reverse tcp:3000 tcp:3000

Open location in headset's browser:

http://localhost:3000

enter XR mode by clicking cube icon.

Contact: LinkedIn.

About

Molecules viewer in XR environment

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages