3d: pure Lua 3d lib for norns

3d

A pure Lua 3d lib for norns.

teapot

This lib provides utils to draw 3d models on norns’ screen.

It support loading .OBJ files, translating & rotating them.

Basic camera operations are supported (translation only).

Additionally, various drawing options are supported, including some that can produce a glitchy effect:

Click to unfold (!!! EPILEPSY WARNING !!!)

Requirements

None.

Documentation

The project README should get you covered.

The accompanying example come with various examples with object rotation & camera position controls:

-- K1 held is SHIFT
--
-- E1: zoom in/out
-- E2: camera x axis
-- E3: camera y axis
--
-- SHIFT+K2: toggle multi-axis
-- SHIFT+E1: rotate x axis
-- SHIFT+E2: rotate y axis
-- SHIFT+E3: rotate z axis
-- K2: toggle auto-rotate
-- K3: emmergency stop

Download

norns.fetch("https://github.com/p3r7/3d.git")
51 Likes

this looks fantastic!
I’d love to incorporate the norns into a video setup

1 Like

20 vertices of Utah teapot!

4 Likes

so cool! now we can make norns demos : )

4 Likes

Holy cow! Norns demos would be a blast!

2 Likes

image
Battlezone port? :robot:

Such great work @eigen
Thank you so much for the Norns wiki as well, it’s amazing in a few years how far Norns has evolved.

This and the Pico-8 wrapper are truly mind-blowing and a peek into the bright trajectory of the instrument.

After years of laptop wrestling,
it feels like the future

9 Likes

20 chars… . :open_mouth:

1 Like