-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tried the static image and tiled images approach. Added a new demos folder. Cleaned up dependencies and module architecture.
- Loading branch information
Showing
18 changed files
with
120 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
angular.module("bawApp.d3", [ | ||
"bawApp.d3.audioView", | ||
"bawApp.d3.calendarView", | ||
"bawApp.d3.dotView", | ||
"bawApp.d3.terrainView", | ||
"bawApp.d3.timelineView" | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
.renderedImage { | ||
width: 1440px; | ||
height: 350px; | ||
background-color: lime; | ||
outline: thick dashed; | ||
margin: 15px; | ||
} | ||
|
||
.blank { | ||
background-color: blue; | ||
} |
5 changes: 2 additions & 3 deletions
5
src/app/d3Bindings/d3TestPage.js → src/app/demo/d3TestPage.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
angular.module("bawApp.demo", [ | ||
"bawApp.demo.rendering", | ||
"bawApp.demo.d3" | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Created by Anthony on 19/11/2014. | ||
*/ | ||
angular.module("bawApp.demo.rendering", []) | ||
.controller( | ||
"RenderingCtrl", | ||
[ | ||
"$scope", | ||
function($scope) { | ||
|
||
$scope.loadStatic = function() { | ||
$scope.staticSrc = "assets/temp/eabad986-56d9-47b5-bec6-47458ffd3eae_101023-0000.ACI-ENT-EVN.png" | ||
}; | ||
|
||
var min = 0, | ||
max = 1435, | ||
basePath = "assets/temp/tiles/tile_{0}.png"; | ||
//. "C:\Program Files\ImageMagick-6.9.0-Q16\convert.exe" -crop 1435x1@ .\eabad986-56d9-47b5-bec6-47458ffd3eae_101023-0000.ACI-ENT-EVN-trimmed72.png tiles/tile_%d.png | ||
$scope.loadTiles = function() { | ||
$scope.tiles = []; | ||
for (i = min; i < max; i++) { | ||
$scope.tiles[i] = basePath.format(i); | ||
} | ||
} | ||
} | ||
] | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<div id="content"> | ||
<h1> | ||
False Colour Rendering Experiment | ||
</h1> | ||
<section> | ||
<h2> | ||
Static image | ||
</h2> | ||
<div> | ||
<button ng-click="loadStatic()">Load</button> | ||
</div> | ||
<div> | ||
<div class="renderedImage" > | ||
<img class="blank" ng-src="{{staticSrc}}" src="" /> | ||
</div> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> | ||
Bitmap image | ||
</h2> | ||
<div> | ||
<button>Render</button> | ||
</div> | ||
<div> | ||
<div class="renderedImage" > | ||
<canvas class="blank"></canvas> | ||
</div> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> | ||
Stacked images | ||
</h2> | ||
<div> | ||
<button ng-click="loadTiles()">Load</button> | ||
</div> | ||
<div> | ||
<div class="renderedImage"> | ||
<div class="blank"> | ||
<img ng-repeat="t in tiles" ng-src="{{t}}" /> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div> |
Binary file added
BIN
+781 KB
...s/temp/eabad986-56d9-47b5-bec6-47458ffd3eae_101023-0000.ACI-ENT-EVN-trimmed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+627 KB
...temp/eabad986-56d9-47b5-bec6-47458ffd3eae_101023-0000.ACI-ENT-EVN-trimmed72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters