Initial commit.

This commit is contained in:
Kenneth Cachia
2013-08-14 01:18:59 -04:00
commit 3561d025dd
266 changed files with 2365 additions and 0 deletions
+68
View File
@@ -0,0 +1,68 @@
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
scripts: {
src:[
'scripts/shape-shifter.js',
'scripts/drawing.js',
'scripts/point.js',
'scripts/color.js',
'drawing.js',
'scripts/ui.js',
'scripts/ui-tabs.js',
'scripts/dot.js',
'scripts/shape-builder.js',
'scripts/shape.js'
],
dest: 'release/shape-shifter.js'
}
},
watch: {
scripts: {
files: ['scripts/*.js'],
tasks: ['clean:scripts', 'jshint', 'concat']
},
css: {
files: ['styles/*.css'],
tasks: ['clean:css', 'cssmin']
}
},
clean: {
scripts: ['release/*.js'],
css: ['release/*.css']
},
cssmin: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */'
},
combine: {
files: {
'release/site.min.css': ['styles/*.css']
}
}
},
jshint: {
files: ['Gruntfile.js', 'scripts/*.js']
}
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['watch']);
grunt.registerTask('release', ['clean', 'cssmin', 'jshint', 'concat']);
};
+4
View File
@@ -0,0 +1,4 @@
#Shape Shifter
A canvas experiment. Check out the <a href="http://www.kennethcachia.com/shape-shifter/" target="_blank">Demo</a>.
+14
View File
@@ -0,0 +1,14 @@
{
"name": "shape-shifter",
"version": "1.0.0",
"description": "A canvas experiment",
"author": "Kenneth Cachia",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-watch": "~0.5.1",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-cssmin": "~0.6.1",
"grunt-contrib-jshint": "~0.6.0",
"grunt-contrib-concat": "~0.3.0"
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 533 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 852 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 850 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 749 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Some files were not shown because too many files have changed in this diff Show More