forked from hughsk/sculpting-implicit-surfaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
22 lines (19 loc) · 1.36 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import Slider from './src/slideshow'
import Editor from './src/editor'
const editor = Editor()
const slides = Slider(document.querySelector('main'), editor)
editor.editor.on('focus', () => slides.enabled = false)
editor.editor.on('blur', () => slides.enabled = true)
slides.register('triangles', require('./src/slide-triangles.js').default)
slides.register('primitives', require('./src/slide-primitives.js').default)
slides.register('look-ma-two-triangles', require('./src/slide-look-ma-two-triangles.js').default)
slides.register('sphere-tracing', require('./src/slide-sphere-tracing.js').default)
slides.register('implicits-example-circle', require('./src/slide-implicits-example-circle.js').default)
slides.register('implicits-example-sphere', require('./src/slide-implicits-example-sphere.js').default)
slides.register('operations-min', require('./src/slide-operations-min.js').default)
slides.register('operations-smin', require('./src/slide-operations-smin.js').default)
slides.register('operations-mod', require('./src/slide-operations-mod.js').default)
slides.register('operations-mod-axial', require('./src/slide-operations-mod-axial.js').default)
slides.register('operations-combined', require('./src/slide-operations-combined.js').default)
slides.register('meshing', require('./src/slide-meshing.js').default)
slides.register('sdf-3d', require('./src/slide-sdf-3d.js').default)