Skip to content

Commit

Permalink
WebGL moon rendering (#29)
Browse files Browse the repository at this point in the history
* New WebGL 3D moon rendering, with libration and improved lunar eclipse effects.
* Browser compatibility check.
* Swapped 1° moon/sun views with 2° views.
* First rough adaption of old geographic DB code to new gazetteer tables, and first migration of API into common project structure with UI code (not yet meant for release).
  • Loading branch information
kshetline authored May 28, 2022
1 parent b40968f commit ea18ffd
Show file tree
Hide file tree
Showing 48 changed files with 13,818 additions and 773 deletions.
26 changes: 22 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"env": {
"es2017": true,
"es2020": true,
"mocha": true,
"node": true
},
Expand All @@ -14,7 +14,7 @@
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
Expand Down Expand Up @@ -124,9 +124,27 @@
},
"overrides": [
{
"files": ["*.js", "*.cjs"],
"files": ["*.js", "*.cjs", "*.html"],
"parser": "espree",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/explicit-function-return-type": "off"
"@typescript-eslint/explicit-function-return-type": "off",
"indent": [
"error",
2,
{
"ArrayExpression": "first",
"FunctionDeclaration": { "parameters": "off" },
"FunctionExpression": { "parameters": "off" },
"ignoreComments": true,
"ObjectExpression": "first",
"SwitchCase": 1
}
],
"no-var": "off"
}
}
]
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ testem.log
# System Files
.DS_Store
Thumbs.db
/server/node_modules/
/server/logs/
/server/build/
10 changes: 10 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
"glob": "**/*",
"input": "node_modules/@tubular/astronomy/dist/resources",
"output": "/assets/resources"
},
{
"glob": "browser-check.min.js*",
"input": "./node_modules/@tubular/browser-check/dist/",
"output": "./assets/"
}
],
"styles": [
Expand Down Expand Up @@ -115,6 +120,11 @@
"glob": "**/*",
"input": "node_modules/@tubular/astronomy/dist/resources",
"output": "/assets/resources"
},
{
"glob": "browser-check.min.js*",
"input": "./node_modules/@tubular/browser-check/dist/",
"output": "./assets/"
}
]
}
Expand Down
Loading

0 comments on commit ea18ffd

Please sign in to comment.