Skip to content

Instantly share code, notes, and snippets.

View ITsvetkoFF's full-sized avatar

Ihor Tsvietkov ITsvetkoFF

View GitHub Profile
@ITsvetkoFF
ITsvetkoFF / app
Created February 8, 2015 10:00
comparison of quadtree and plain search performance
var app = angular.module("AspiNodesApp", []);
app.controller('SimulationController', function ($scope) {
$scope.datum = {};
$scope.temp = {};
// Form defaults
$scope.datum.nodeQuantity = '1000'; //4000
$scope.datum.fieldWidth = '500'; //1800
$scope.datum.fieldHeight = '500'; //800