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
{"barometer":[123.00577545166016,123.00577545166016,123.00577545166016,123.00577545166016,122.90272521972656,122.90272521972656,122.90272521972656,122.90272521972656,122.80232238769531,122.80232238769531,122.80232238769531,122.80232238769531,123.00577545166016,123.00577545166016,123.00577545166016,123.00577545166016,122.9423599243164,122.9423599243164,123.16960144042969,123.16960144042969,122.78910827636719,122.78910827636719,122.78910827636719,122.78910827636719,122.97935485839844,122.97935485839844,122.95293426513672,122.95293426513672,123.09297180175781,123.09297180175781,123.09297180175781,123.09297180175781,123.01634979248047,123.01634979248047,123.01634979248047,123.01634979248047,122.87630462646485,122.87630462646485,122.78910827636719,122.78910827636719,122.78910827636719,122.78910827636719,122.91593933105469,122.91593933105469,123.0691909790039,123.0691909790039,123.0691909790039,123.0691909790039,123.04277038574219,123.04277038574219,122.90272521972656,122.90272521972656,122.90272521972656,122.90272 |
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
var Vec2 = require('pex-math/Vec2') | |
var canvas = document.createElement('canvas') | |
canvas.width = 900 | |
canvas.height = 600 | |
document.body.appendChild(canvas) | |
var ctx = canvas.getContext('2d') | |
function projectPointOnLine (a, b, p) { |
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
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var source = require('vinyl-source-stream'); | |
var watchify = require('watchify'); | |
gulp.task('watch', function() { | |
var bundler = watchify('./testpex3.js'); | |
bundler.transform({global:true}, 'brfs'); | |
bundler.ignore('plask'); |