StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
				https://doi.org/10.1109/TVCG.2020.3030352
			
			
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							13 lines
						
					
					
						
							299 B
						
					
					
				
			
		
		
	
	
							13 lines
						
					
					
						
							299 B
						
					
					
				var simplify = require("../simplify")
 | 
						|
 | 
						|
//Create a circle
 | 
						|
var positions = []
 | 
						|
var edges = []
 | 
						|
for(var i=0; i<100; ++i) {
 | 
						|
  var theta = i / 100 * Math.PI * 2.0
 | 
						|
  positions.push([Math.cos(theta), Math.sin(theta)])
 | 
						|
  edges.push([i, (i+1)%100])
 | 
						|
}
 | 
						|
 | 
						|
//Simplify it
 | 
						|
console.log(simplify(edges, positions, 0.1)) |