Skip to content

Commit

Permalink
changed demo to shows off transparency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andor committed Jul 9, 2010
1 parent f5c8768 commit 4434007
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
21 changes: 20 additions & 1 deletion demos/mickey/mickey.html
Expand Up @@ -7,7 +7,26 @@
</head>

<body onLoad="start();">
<canvas id="canvas" width="500" height="500"></canvas>
A cross-browser JavaScript tool which will emulate Arius3D's PointStream viewer. <br />
It will be able to quickly render a large amount of point cloud data to the &lt;canvas &gt;<br />
tag using WebGL.<br />
A cross-browser JavaScript tool which will emulate Arius3D's PointStream viewer. <br />
It will be able to quickly render a large amount of point cloud data to the &lt;canvas &gt;<br />
tag using WebGL.<br />
A cross-browser JavaScript tool which will emulate Arius3D's PointStream viewer. <br />
It will be able to quickly render a large amount of point cloud data to the &lt;canvas &gt;<br />
tag using WebGL.<br />
A cross-browser JavaScript tool which will emulate Arius3D's PointStream viewer. <br />
It will be able to quickly render a large amount of point cloud data to the &lt;canvas &gt;<br />
tag using WebGL.<br />
A cross-browser JavaScript tool which will emulate Arius3D's PointStream viewer. <br />
It will be able to quickly render a large amount of point cloud data to the &lt;canvas &gt;<br />
tag using WebGL.<br />
A cross-browser JavaScript tool which will emulate Arius3D's PointStream viewer. <br />
It will be able to quickly render a large amount of point cloud data to the &lt;canvas &gt;<br />
tag using WebGL.<br />

<canvas id="canvas" width="500" height="500" style="position:absolute;left:0px;top:0px;"></canvas>
<span id="debug"></span>
</body>

Expand Down
4 changes: 2 additions & 2 deletions demos/mickey/mickey.js
Expand Up @@ -10,7 +10,7 @@ var size = 500;

window.onresize = function(){
ps.resize(window.innerWidth, window.innerHeight);
ps.background([0.3,0.5,0.7,1]);
ps.background([0.3,0.5,0.7,0.2]);
};

function zoom(amt){
Expand Down Expand Up @@ -57,7 +57,7 @@ function start(){
ps = new PointStream();

ps.setup(document.getElementById('canvas'), render);
ps.background([0.3,0.5,0.7,1]);
ps.background([0.3,0.5,0.7,0.2]);

ps.onMouseScroll = zoom;
ps.onMousePressed = mousePressed;
Expand Down

0 comments on commit 4434007

Please sign in to comment.