showing results for - "map a square to a circle"
Idris
15 May 2016
1function map(x, y) {
2	return [
3    	x * Math.sqrt(1 - y * y / 2),
4        y * Math.sqrt(1 - x * x / 2)];
5}
Chahinez
23 Oct 2018
1function map(x, y) {
2    return [
3        x * Math.sqrt(1 - y * y / 2), 
4        y * Math.sqrt(1 - x * x / 2)];
5}