Skip to content

Commit

Permalink
deploy: b7e013e
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmas committed Dec 19, 2023
1 parent 3885198 commit 9ef682f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
4 changes: 4 additions & 0 deletions assets/index-0d1d4646.js

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions assets/index-ec6fab89.js

This file was deleted.

2 changes: 1 addition & 1 deletion assets/vendor-ca63bdc7.js → assets/vendor-e5c7e806.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"baseUrl": "",
"tleUrl": "/data/attributed-TLE.json",
"propergateInterval": 1000,
"pushHistory": false,
"logLevel": "info",
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@


<title>Stuff in Space</title>
<script type="module" crossorigin src="/StuffInSpace/assets/index-ec6fab89.js"></script>
<link rel="modulepreload" crossorigin href="/StuffInSpace/assets/vendor-ca63bdc7.js">
<script type="module" crossorigin src="/StuffInSpace/assets/index-0d1d4646.js"></script>
<link rel="modulepreload" crossorigin href="/StuffInSpace/assets/vendor-e5c7e806.js">
</head>
<body class="loading">
<div id="no-webgl">
Expand Down
7 changes: 2 additions & 5 deletions shaders/dot2-fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ uniform sampler2D pointTexture;
varying vec4 vColor;
void main() {
vec2 ptCoord = gl_PointCoord * 2.0 - vec2(1.0, 1.0);
float r = 1.0 - min(abs(length(ptCoord)), 1.0);
float alpha = pow(r + 0.1, 3.0);
alpha = min(alpha, 1.0);

float r = 0.48 - min(abs(length(ptCoord)), 1.0);
float alpha = (2.0 * r + 0.4);
gl_FragColor = vec4(vColor.rgb, vColor.a * alpha);
// gl_FragColor = gl_FragColor * texture2D( pointTexture, gl_PointCoord );
}

0 comments on commit 9ef682f

Please sign in to comment.