This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from enum import Enum | |
import argparse | |
class Renderers(Enum): | |
source_videos = 0 # values can be anything you need, e.g. specific Renderer classes / objects | |
input_points = 1 | |
projection_points = 2 | |
parser = argparse.ArgumentParser() | |
parser.add_argument( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class SimpleSlider { | |
constructor(container, options) { | |
this.options = options; | |
this.autoInterval = options.auto; | |
this.visible = options.visible; | |
this.classes = options.classes; | |
this.selectors = options.selectors; | |
this.container = container; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.fade-toggle (@openSelector: ~'.open'; @inTransitionClassName: ~'transition-helper'; @openRight: 0; @zIndex: 1) { | |
.transition(opacity .25s ease-in-out); | |
position: absolute; | |
left: -9999em; | |
z-index: @zIndex; | |
opacity: 0; | |
@rls: { | |
left: 0; | |
right: @openRight; |