aboutsummaryrefslogblamecommitdiff
path: root/app/js/app.js
blob: 504311b1ed8b5a353f8d34f4b2be2c1f090d8e41 (plain) (tree)
1
2
3
4
5
6
7
8
9

             






                                         


                              

                                         


                              

                                       


                              

                                               


                              

                                           


                              

                                      


                               

                                       


                               

                                       


                               

                                       


                               

                                       


                              

                                       


                               

                                       


                               

                                       


                               

                                       


                               

                                       


                               

                                       


                               

                                       


                               

                                       


                               

                                       



                 


                           
 
'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;
};