Restructure for server
This commit is contained in:
parent
0679766f6c
commit
9da0806c38
8 changed files with 13 additions and 3 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
dataset/
|
12
download_datasets.sh
Normal file
12
download_datasets.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
mkdir dataset
|
||||
cd dataset
|
||||
wget http://images.cocodataset.org/annotations/annotations_trainval2017.zip
|
||||
unzip annotations_trainval2017.zip
|
||||
rm annotations_trainval2017.zip
|
||||
|
||||
wget http://images.cocodataset.org/zips/val2017.zip
|
||||
unzip val2017.zip
|
||||
rm val2017.zip
|
||||
|
||||
cd ..
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
0
js/effects.js → www/js/effects.js
vendored
0
js/effects.js → www/js/effects.js
vendored
|
@ -4,9 +4,6 @@ import { getPathShapeBetweenPoints } from "./svg.js";
|
|||
export function init(svgEl, crosshairXEl, crosshairYEl) {
|
||||
let flywheel = new Flywheel();
|
||||
|
||||
// use ?3 and ?4 ?28 etc in query string to determine segments
|
||||
const segmentCount = window.location.search.substr(1).length ? window.location.search.substr(1) : 4;
|
||||
|
||||
// canvas position relative to mouse/screen
|
||||
// TODO: update on resize:
|
||||
svgEl.setAttribute('viewBox', '0 0 ' + window.innerWidth + ' ' + window.innerHeight);
|
Loading…
Reference in a new issue