-
Notifications
You must be signed in to change notification settings - Fork 11
Quickstart
dcyoung edited this page Jun 5, 2017
·
2 revisions
- Retrieve the source code
git clone https://github.com/scanse/sweep-learning-examples
- Open open
index.html
(sweep-learning-examples/examples/line_extraction/index.html
) in a WebGL compatible browser such as google chrome.
The example is designed to run in a web browser without requiring a server or any kind of modifications to file access. However, your web browser must be able to run WebGL. You can check that here: https://get.webgl.org/
-
data/
: contains the recorded scan data used to visualize the algorithms (json data stored as string in js file). -
js
: the source code for the application-
components/
: the applications components/modules -
namespace.js
: defines the application namespace + structure of components/modules -
main.js
: control logic and entry point for the application
-
-
lib
: third party libraries -
style
: css helpers -
index.html
: the HTML page
The easiest way to explore the effects of various parameters is to tinker with them and visualize the effects. To alter the parameters used in the example, simply adjust the values specified in the initLineExtractor()
method from the LineExtractionApp.Visualizer
module. For descriptions of each parameter, see the section on Line Extraction.