LÖVR

A simple framework for creating VR with Lua

DownloadGet Started

📦Cross Platform

LÖVR projects work on Windows, macOS, and Linux. You can run the same code on an HTC Vive or an Oculus Rift, and there's even a drag and drop tool for exporting projects to WebVR.

🌈Super Simple

LÖVR is minimal, clean, and really easy to pick up. It's scripted with Lua, a fun little scripting language. Most common tasks are reduced to just a few lines of code, and everything is designed for VR.

💜Open Source

LÖVR is open source software, meaning it's 100% free to use and doesn't require accounts, paid licenses, or royalties. The code can be found on GitHub and is released under the MIT license.

Samples

Hello World

function lovr.draw()
  lovr.graphics.print('oh wow', 0, 2, -3, .5)
end

Spatialized Audio

function lovr.load()
  sound = lovr.audio.newSource('darude.ogg')
  sound:play()
end

Tracked Controllers

function lovr.draw()
  controllers = lovr.headset.getControllers()
  for _, controller in ipairs(controllers) do
    x, y, z = controller:getPosition()
    lovr.graphics.sphere(x, y, z, .1)
  end
end

Skybox

function lovr.load()
  skybox = lovr.graphics.newSkybox('sky.jpg')
end

function lovr.draw()
  skybox:draw(lovr.headset.getOrientation())
end

Screenshots