Skip to content

Example Scripts/Templates

See the folder “ExampleScripts” for examples you can copy and paste into your project.  See the instructions for each one. The ExampleScripts are located in your Sightlab2 projects folder (by default in your Documents folder)


Visual Search
Examples of 4 different Visual Search tasks using STIM files and saving data


Virtual 2D Screen
Use 2D videos displayed on a virtual screen. Analyze and playback user interactions. Also supports stereo video playback. 


Gaze Based Interactions
Elements in the scene react to your gaze. 


Driving Example
Use a car or other vehicle in your eyetracking simulation


Walk the Plank
Challenge Fear of Heights in the Walk the Plank demo. Capture fixations and heatmaps and send signals to Biopac Acqknowledge


Mirror
Demonstrates adding a virtual mirror to a scene and swapping head and hands, or can use tracked avatar 


Physics
Turn physics on in your application


Adding avatars/NPCs
See how to add avatars in your application


Proximity Sensors
Add proximity sensors for location based interactions


Visual Analytics Examples.
Generate bar charts, histograms, box plots using Matplotlib, Numpy, PANDAs, Plotly and Seaborn


Adding to an existing Vizard script
See how to import into an existing Vizard script


Shared Gaze
Multi-user sample showing time spent in shared gaze


Media Viewer
Template for displaying 360 Media Stimulus in a randomized order


Memory Experiment
Investigate human spatial memory with this example of a behavioral research experiment.


Setting flags using controller trigger or keypress
See how to set flags using a controller or keyboard press.


Omnicept Heart Rate/Additional Data
Track and playback heart rate using the Omnicept headset


3D Tablet/ VR Menu
Use and modify a 3D menu for interacting with the scene


Using with Biopac Acqknowledge
See how to connect and send markers to Biopac's Acqknowledge software


Pupil Diameter baseline
Establish a baseline for pupil diameter using various light intensity values.


Instructions
Add instructions for a participant (accessible via the "settings.py" file)


Rating Scale GUI
Adding a GUI to allow users to choose from a set of responses


Pigeon Hunt
Follow the sound of hooting pigeons and catch them before they fly away.


Audio Recording and Transcriptions
Add audio to the replay captured from your microphone. Can also save an audio transcript


STIM Files
See how to use a STIM file to setup independent variables


Eye Tracker Tests
Run tests to evaluate Eye Tracker hardware performance


Model/Stimulus Swapping
Cycle through models, videos, images, and audio collections with single or multi-user setups


360 Moving Regions of Interest


Mixed Reality
Examples of using Mixed and Augmented Reality


XR/AR Eye Tracking
Perform eye tracking studies on real world objects


Upper Body Tracking
Examples for using upper body tracking with the Meta Quest Pro


Using a Timer for Experiment
Example for running experiments on a timer or using different start/stop events


AI Agent
Interact with a virtual agent enabled with ChatGPT or Claude


Educational Application with AI
Set up an educational experience with audio and visual annotations on objects


Selector/Highlighter Tool
Use a selector tool to interact with the scene


Hand Tracking - Grabbing and Physics
Use Meta Quest Pro’s Hand Tracking for object interaction using physics


Images for Instructions
Using an image to instruct participants


Biofeedback Ball
See how feedback from physiological sensors can change the appearance of a ball in VR/AR


Collisions/Gravity
Move over elevations, ramps, and enable falling in your simulations


Jump To Locations
Jump to various scene locations with arc teleport, virtual menu, or keypresses


Face Tracking
View, save, and analyze face tracking data


Movement Limiter
Restrict user movement in a large space within a defined boundary


Convert 360 Media to Equirectangular
Convert 3D cartesian data points to an equirectangular format


Full Body Multi-User
Use full-body avatars with saved audio, transcripts, video, and replay


Avatar Body
Use a seated, standing, or tracked full-body avatar


Video Compressor
Compress video for smoother playback with 360 VR video


Measuring Tape
Tool for measuring objects in AR or VR


Feet Tracking
Track feet in VR using controllers or Vive Trackers


Vive Trackers
Track objects or full body with Vive Trackers


Real World Objects in VR
Display real-world objects overlaid in VR


Grab Events
Save data on object grab and release events


Distance Perception
Experiment to measure Distance Perception and user performance


Choice Comparison
Template for comparing choices between objects using input methods


Presentation Mode MultiUser
Present a Session with Presenter Tools, such as controlling trials for clients, etc.


Hand Tracking Gesture Control
Control scene aspects using gestures


Glaucoma Simulation
Add a moving object that simulates Glaucoma-type artifacts


See More Examples for Vizard


Additional Examples Available (Contact Sales@Worldviz.com to inquire about how to get access)



Driving 360
360 video integrated with 3D models in a New York City drive-through demo


Shopping Visual Search
A visual search task to find a grocery item


Virtual Cockpit
Flying demo inside a virtual cockpit


Phobia Stimulus Presentation
Measure response to objects like spiders while assessing control object awareness


Apartment/Building Review
Examples of various apartments and buildings


External Application Data Recorder
Record data from external applications outside of Vizard


Operating Room
Interactive operating room experience using the Boom IK module