aboutsummaryrefslogtreecommitdiff
path: root/app/js/app.js
blob: 504311b1ed8b5a353f8d34f4b2be2c1f090d8e41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
'use strict';

var app = angular.module('playGraph',[]);

var Point = function(x,y){
    this.x = x;
    this.y = y;
};

var dummyPoints= [
		{
			x: 10,
			y: 20,
                        label:"offspring"
		},
		{
			x: 30,
			y: 30,
                        label:"gunther"
		},
		{
			x: 50,
			y: 25,
                        label:"bloodhoung gang"
		},
		{
			x: 60,
			y: 200,
                        label:"linkin park"
		},
		{
			x: 90,
			y: 230,
                        label:"savant"
		},
		{
			x: 400,
			y: 300,
                        label:"tac tac"
		},
		{
			x: 100,
			y: 220,
                        label:"piste x"
		},
		{
			x: 200,
			y: 20,
                        label:"piste y"
		},
		{
			x: 150,
			y: 450,
                        label:"piste z"
		},
		{
			x: 70,
			y: 80,
                        label:"piste a"
		},
		{
			x: 400,
			y: 80,
                        label:"piste b"
		},
		{
			x: 430,
			y: 90,
                        label:"piste c"
		},
		{
			x: 420,
			y: 65,
                        label:"piste d"
		},
		{
			x: 380,
			y: 320,
                        label:"piste e"
		},
		{
			x: 490,
			y: 340,
                        label:"piste f"
		},
		{
			x: 400,
			y: 400,
                        label:"piste f"
		},
		{
			x: 480,
			y: 360,
                        label:"piste f"
		},
		{
			x: 420,
			y: 490,
                        label:"piste f"
		}

	]

var Song = function(point){
    this.point = point;
};