@explorable-viz/fluid 0.12.2 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fluid/shared/fluid.mjs +478 -438
- package/dist/fluid/shared/load-figure.js +3193 -2969
- package/package.json +12 -26
- package/script/install-website.sh +27 -9
- package/web/lib/CodeMirror.svelte +19 -0
- package/web/lib/DataPane.svelte +46 -0
- package/web/lib/Figure.svelte +38 -0
- package/web/lib/FigureSrc.svelte +35 -0
- package/web/lib/Grid.svelte +32 -0
- package/web/lib/index.js +5 -0
- package/web/lib/view-styles.css +262 -0
- package/website/article/eslint.config.js +45 -0
- package/website/article/package.json +46 -0
- package/website/article/src/app.d.ts +13 -0
- package/website/article/src/app.html +12 -0
- package/website/article/src/lib/assets/css/styles.css +245 -0
- package/website/article/src/lib/assets/image/bristol.png +0 -0
- package/website/article/src/lib/assets/image/fluid.png +0 -0
- package/website/article/src/lib/assets/image/iccs.png +0 -0
- package/website/article/src/lib/assets/image/schmidt.png +0 -0
- package/website/article/src/lib/assets/image/turing.jpg +0 -0
- package/website/article/src/lib/config/nav.ts +7 -0
- package/website/article/src/lib/config/supporters.ts +27 -0
- package/website/article/src/routes/+layout.svelte +15 -0
- package/website/article/src/routes/+layout.ts +1 -0
- package/website/article/{index.html → src/routes/+page.svelte} +8 -17
- package/website/article/src/routes/convolution/+page.svelte +62 -0
- package/website/article/src/routes/energy-scatter/+page.svelte +34 -0
- package/website/article/src/routes/methane/+page.svelte +35 -0
- package/website/article/src/routes/moving-average/+page.svelte +57 -0
- package/website/article/src/routes/non-renewables/+page.svelte +40 -0
- package/website/article/src/routes/renewables-linked/+page.svelte +34 -0
- package/website/article/src/routes/scigen-1805.02474v1-10/+page.svelte +40 -0
- package/website/article/static/fluid/lib/graphics.fld +274 -0
- package/website/article/static/fluid/lib/matrix.fld +40 -0
- package/website/article/static/fluid/lib/prelude.fld +348 -0
- package/website/article/static/fluid/lib/stats.fld +83 -0
- package/website/article/svelte.config.js +13 -0
- package/website/article/test.mjs +66 -11
- package/website/article/tsconfig.json +20 -0
- package/website/article/vite.config.ts +6 -0
- package/.spago/aff/v7.1.0/.editorconfig +0 -13
- package/.spago/aff/v7.1.0/.eslintrc.json +0 -28
- package/.spago/aff/v7.1.0/.gitignore +0 -14
- package/.spago/aff/v7.1.0/.tidyrc.json +0 -10
- package/.spago/affjax/v13.0.0/.editorconfig +0 -13
- package/.spago/affjax/v13.0.0/.eslintrc.json +0 -28
- package/.spago/affjax/v13.0.0/.gitignore +0 -14
- package/.spago/affjax/v13.0.0/.tidyrc.json +0 -10
- package/.spago/affjax-web/v1.0.0/.editorconfig +0 -13
- package/.spago/affjax-web/v1.0.0/.eslintrc.json +0 -30
- package/.spago/affjax-web/v1.0.0/.gitignore +0 -14
- package/.spago/affjax-web/v1.0.0/.tidyrc.json +0 -10
- package/.spago/argonaut-codecs/v9.1.0/.editorconfig +0 -13
- package/.spago/argonaut-codecs/v9.1.0/.gitignore +0 -9
- package/.spago/argonaut-codecs/v9.1.0/.tidyrc.json +0 -10
- package/.spago/argonaut-core/v7.0.0/.editorconfig +0 -13
- package/.spago/argonaut-core/v7.0.0/.eslintrc.json +0 -29
- package/.spago/argonaut-core/v7.0.0/.gitignore +0 -14
- package/.spago/argonaut-core/v7.0.0/.tidyrc.json +0 -10
- package/.spago/arraybuffer-types/v3.0.2/.editorconfig +0 -13
- package/.spago/arraybuffer-types/v3.0.2/.gitignore +0 -9
- package/.spago/arraybuffer-types/v3.0.2/.tidyrc.json +0 -10
- package/.spago/arrays/v7.2.1/.eslintrc.json +0 -26
- package/.spago/arrays/v7.2.1/.gitignore +0 -9
- package/.spago/assert/v6.0.0/.eslintrc.json +0 -26
- package/.spago/assert/v6.0.0/.gitignore +0 -8
- package/.spago/bifunctors/v6.0.0/.gitignore +0 -7
- package/.spago/catenable-lists/v7.0.0/.gitignore +0 -7
- package/.spago/console/v6.1.0/.eslintrc.json +0 -30
- package/.spago/console/v6.1.0/.gitignore +0 -9
- package/.spago/const/v6.0.0/.gitignore +0 -7
- package/.spago/contravariant/v6.0.0/.gitignore +0 -7
- package/.spago/control/v6.0.0/.gitignore +0 -7
- package/.spago/datetime/v6.1.0/.eslintrc.json +0 -26
- package/.spago/datetime/v6.1.0/.gitignore +0 -8
- package/.spago/debug/v6.0.2/.eslintrc.json +0 -36
- package/.spago/debug/v6.0.2/.gitignore +0 -8
- package/.spago/distributive/v6.0.0/.gitignore +0 -7
- package/.spago/effect/v4.0.0/.eslintrc.json +0 -26
- package/.spago/effect/v4.0.0/.gitignore +0 -8
- package/.spago/either/v6.1.0/.gitignore +0 -7
- package/.spago/enums/v6.0.1/.gitignore +0 -7
- package/.spago/exceptions/v6.0.0/.eslintrc.json +0 -26
- package/.spago/exceptions/v6.0.0/.gitignore +0 -8
- package/.spago/exists/v6.0.0/.gitignore +0 -7
- package/.spago/filterable/v5.0.0/.gitignore +0 -11
- package/.spago/foldable-traversable/v6.0.0/.eslintrc.json +0 -26
- package/.spago/foldable-traversable/v6.0.0/.gitignore +0 -8
- package/.spago/foreign/v7.0.0/.eslintrc.json +0 -26
- package/.spago/foreign/v7.0.0/.gitignore +0 -8
- package/.spago/foreign-object/v4.1.0/.eslintrc.json +0 -26
- package/.spago/foreign-object/v4.1.0/.gitignore +0 -8
- package/.spago/form-urlencoded/v7.0.0/.editorconfig +0 -13
- package/.spago/form-urlencoded/v7.0.0/.gitignore +0 -9
- package/.spago/form-urlencoded/v7.0.0/.tidyrc.json +0 -10
- package/.spago/free/v7.1.0/.gitignore +0 -8
- package/.spago/functions/v6.0.0/.eslintrc.json +0 -26
- package/.spago/functions/v6.0.0/.gitignore +0 -8
- package/.spago/functors/v5.0.0/.gitignore +0 -7
- package/.spago/gen/v4.0.0/.gitignore +0 -8
- package/.spago/graphs/v8.1.0/.gitignore +0 -7
- package/.spago/http-methods/v6.0.0/.editorconfig +0 -13
- package/.spago/http-methods/v6.0.0/.gitignore +0 -9
- package/.spago/http-methods/v6.0.0/.tidyrc.json +0 -10
- package/.spago/identity/v6.0.0/.gitignore +0 -7
- package/.spago/integers/v6.0.0/.eslintrc.json +0 -26
- package/.spago/integers/v6.0.0/.gitignore +0 -8
- package/.spago/invariant/v6.0.0/.gitignore +0 -7
- package/.spago/js-date/v8.0.0/.editorconfig +0 -13
- package/.spago/js-date/v8.0.0/.eslintrc.json +0 -29
- package/.spago/js-date/v8.0.0/.gitignore +0 -14
- package/.spago/js-date/v8.0.0/.tidyrc.json +0 -10
- package/.spago/js-uri/v3.1.0/.eslintrc.json +0 -30
- package/.spago/js-uri/v3.1.0/.gitignore +0 -14
- package/.spago/js-uri/v3.1.0/.tidyrc.json +0 -10
- package/.spago/lazy/v6.0.0/.eslintrc.json +0 -26
- package/.spago/lazy/v6.0.0/.gitignore +0 -8
- package/.spago/lcg/v4.0.0/.gitignore +0 -8
- package/.spago/lists/v7.0.0/.gitignore +0 -7
- package/.spago/maybe/v6.0.0/.gitignore +0 -7
- package/.spago/media-types/v6.0.0/.editorconfig +0 -13
- package/.spago/media-types/v6.0.0/.gitignore +0 -9
- package/.spago/media-types/v6.0.0/.tidyrc.json +0 -10
- package/.spago/newtype/v5.0.0/.gitignore +0 -7
- package/.spago/node-buffer/v9.0.0/.eslintrc.json +0 -26
- package/.spago/node-buffer/v9.0.0/.gitignore +0 -8
- package/.spago/node-fs/v9.1.0/.eslintrc.json +0 -29
- package/.spago/node-fs/v9.1.0/.gitignore +0 -9
- package/.spago/node-path/v5.0.0/.eslintrc.json +0 -26
- package/.spago/node-path/v5.0.0/.gitignore +0 -8
- package/.spago/node-process/v11.2.0/.eslintrc.json +0 -29
- package/.spago/node-process/v11.2.0/.gitignore +0 -8
- package/.spago/node-streams/v9.0.0/.eslintrc.json +0 -29
- package/.spago/node-streams/v9.0.0/.gitignore +0 -8
- package/.spago/nonempty/v7.0.0/.gitignore +0 -7
- package/.spago/now/v6.0.0/.editorconfig +0 -13
- package/.spago/now/v6.0.0/.eslintrc.json +0 -29
- package/.spago/now/v6.0.0/.gitignore +0 -14
- package/.spago/now/v6.0.0/.tidyrc.json +0 -10
- package/.spago/nullable/v6.0.0/.editorconfig +0 -13
- package/.spago/nullable/v6.0.0/.eslintrc.json +0 -29
- package/.spago/nullable/v6.0.0/.gitignore +0 -14
- package/.spago/nullable/v6.0.0/.tidyrc.json +0 -10
- package/.spago/optparse/v6.0.0/.gitignore +0 -8
- package/.spago/optparse/v6.0.0/.npmrc +0 -1
- package/.spago/ordered-collections/v3.1.1/.gitignore +0 -8
- package/.spago/orders/v6.0.0/.gitignore +0 -7
- package/.spago/parallel/v7.0.0/.gitignore +0 -7
- package/.spago/parsing/v10.3.1/.editorconfig +0 -13
- package/.spago/parsing/v10.3.1/.gitignore +0 -12
- package/.spago/parsing/v10.3.1/.tidyoperators +0 -231
- package/.spago/parsing/v10.3.1/.tidyrc.json +0 -10
- package/.spago/partial/v4.0.0/.eslintrc.json +0 -26
- package/.spago/partial/v4.0.0/.gitignore +0 -8
- package/.spago/posix-types/v6.0.0/.gitignore +0 -7
- package/.spago/prelude/v6.0.1/.eslintrc.json +0 -26
- package/.spago/prelude/v6.0.1/.gitignore +0 -8
- package/.spago/profunctor/v6.0.0/.gitignore +0 -7
- package/.spago/psci-support/v6.0.0/.eslintrc.json +0 -28
- package/.spago/psci-support/v6.0.0/.gitignore +0 -8
- package/.spago/quickcheck/v8.0.1/.eslintrc.json +0 -26
- package/.spago/quickcheck/v8.0.1/.gitignore +0 -8
- package/.spago/random/v6.0.0/.eslintrc.json +0 -26
- package/.spago/random/v6.0.0/.gitignore +0 -8
- package/.spago/record/v4.0.0/.eslintrc.json +0 -26
- package/.spago/record/v4.0.0/.gitignore +0 -8
- package/.spago/refs/v6.0.0/.eslintrc.json +0 -26
- package/.spago/refs/v6.0.0/.gitignore +0 -8
- package/.spago/st/v6.2.0/.eslintrc.json +0 -26
- package/.spago/st/v6.2.0/.gitignore +0 -8
- package/.spago/strings/v6.0.1/.eslintrc.json +0 -26
- package/.spago/strings/v6.0.1/.gitignore +0 -8
- package/.spago/tailrec/v6.1.0/.gitignore +0 -7
- package/.spago/transformers/v6.0.0/.gitignore +0 -7
- package/.spago/tuples/v7.0.0/.gitignore +0 -7
- package/.spago/type-equality/v4.0.1/.gitignore +0 -7
- package/.spago/typelevel-prelude/v7.0.0/.gitignore +0 -8
- package/.spago/unfoldable/v6.0.0/.eslintrc.json +0 -26
- package/.spago/unfoldable/v6.0.0/.gitignore +0 -8
- package/.spago/unicode/v6.0.0/.editorconfig +0 -13
- package/.spago/unicode/v6.0.0/.gitattributes +0 -2
- package/.spago/unicode/v6.0.0/.gitignore +0 -19
- package/.spago/unicode/v6.0.0/.tidyrc.json +0 -10
- package/.spago/unsafe-coerce/v6.0.0/.eslintrc.json +0 -26
- package/.spago/unsafe-coerce/v6.0.0/.gitignore +0 -8
- package/.spago/web-dom/v6.0.0/.eslintrc.json +0 -29
- package/.spago/web-dom/v6.0.0/.gitignore +0 -9
- package/.spago/web-events/v4.0.0/.eslintrc.json +0 -29
- package/.spago/web-events/v4.0.0/.gitignore +0 -8
- package/.spago/web-file/v4.0.0/.eslintrc.json +0 -29
- package/.spago/web-file/v4.0.0/.gitignore +0 -8
- package/.spago/web-html/v4.1.0/.eslintrc.json +0 -29
- package/.spago/web-html/v4.1.0/.gitignore +0 -8
- package/.spago/web-storage/v5.0.0/.eslintrc.json +0 -29
- package/.spago/web-storage/v5.0.0/.gitignore +0 -8
- package/.spago/web-xhr/v5.0.1/.eslintrc.json +0 -29
- package/.spago/web-xhr/v5.0.1/.gitignore +0 -8
- package/LICENSE +0 -21
- package/README.md +0 -95
- package/dist/fluid/shared/website-test.js +0 -41
- package/dist/fluid/shared/webtest-lib.js +0 -300023
- package/script/bundle-website.sh +0 -52
- package/script/util/clean.sh +0 -5
- package/script/util/lisp-case.sh +0 -10
- package/website/article/convolution/index.html +0 -97
- package/website/article/css/styles.css +0 -325
- package/website/article/css/view-styles.css +0 -205
- package/website/article/energy-scatter/index.html +0 -47
- package/website/article/methane/index.html +0 -46
- package/website/article/moving-average/index.html +0 -64
- package/website/article/non-renewables/index.html +0 -52
- package/website/article/renewables-linked/index.html +0 -46
- package/website/article/scigen-1805.02474v1-10/index.html +0 -54
- package/website/article/shared/util.js +0 -15
- /package/website/article/{favicon.ico → src/lib/assets/image/favicon.ico} +0 -0
- /package/website/article/{dataset → static/dataset}/SciGen/1805.02474v1-10.json +0 -0
- /package/website/article/{dataset → static/dataset}/methane-emissions.json +0 -0
- /package/website/article/{dataset → static/dataset}/non-renewables.json +0 -0
- /package/website/article/{dataset → static/dataset}/renewable-new.json +0 -0
- /package/website/article/{dataset → static/dataset}/renewable.json +0 -0
- /package/website/article/{fluid → static/fluid}/1805.02474v1-10.fld +0 -0
- /package/website/article/{fluid → static/fluid}/bar-chart-line-chart.fld +0 -0
- /package/website/article/{fluid → static/fluid}/convolution/emboss.fld +0 -0
- /package/website/article/{fluid → static/fluid}/convolution/testImage.fld +0 -0
- /package/website/article/{fluid → static/fluid}/convolution.fld +0 -0
- /package/website/article/{fluid → static/fluid}/dataset/scigen/_1805_02474v1_10.fld +0 -0
- /package/website/article/{fluid → static/fluid}/energyscatter.fld +0 -0
- /package/website/article/{fluid → static/fluid}/methane.fld +0 -0
- /package/website/article/{fluid → static/fluid}/methane_data.fld +0 -0
- /package/website/article/{fluid → static/fluid}/moving-average.fld +0 -0
- /package/website/article/{fluid → static/fluid}/non-renewables.fld +0 -0
- /package/website/article/{fluid → static/fluid}/nonRenewables.fld +0 -0
- /package/website/article/{fluid → static/fluid}/renewables.fld +0 -0
- /package/website/article/{fluid → static/fluid}/scigen.fld +0 -0
- /package/website/article/{fluid → static/fluid}/util.fld +0 -0
package/script/bundle-website.sh
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
set -xeu
|
|
3
|
-
|
|
4
|
-
PREFIX=""
|
|
5
|
-
|
|
6
|
-
WEBSITE="$1"
|
|
7
|
-
if [ -z "$WEBSITE" ]; then
|
|
8
|
-
echo "Usage: $0 [-l] <website-name>" >&2
|
|
9
|
-
exit 1
|
|
10
|
-
fi
|
|
11
|
-
|
|
12
|
-
if [ ! -d "website/$WEBSITE" ]; then
|
|
13
|
-
echo "Error: Directory 'website/$WEBSITE' does not exist." >&2
|
|
14
|
-
exit 1
|
|
15
|
-
fi
|
|
16
|
-
|
|
17
|
-
if [[ "${BASH_SOURCE[0]}" == *"/node_modules/"* ]]; then
|
|
18
|
-
PREFIX="node_modules/@explorable-viz/fluid/"
|
|
19
|
-
else
|
|
20
|
-
PREFIX=""
|
|
21
|
-
fi
|
|
22
|
-
|
|
23
|
-
echo "Cleaning dist/$WEBSITE"
|
|
24
|
-
. "${PREFIX}script/util/clean.sh" $WEBSITE
|
|
25
|
-
|
|
26
|
-
shopt -s nullglob
|
|
27
|
-
|
|
28
|
-
echo "Processing other static files:"
|
|
29
|
-
set +xu # try to remove +u
|
|
30
|
-
TO_COPY=()
|
|
31
|
-
shopt -s dotglob extglob
|
|
32
|
-
for CHILD in website/$WEBSITE/!(.|..); do
|
|
33
|
-
BASENAME="$(basename "$CHILD")"
|
|
34
|
-
if [[ "$BASENAME" =~ ^[a-z.] ]]; then
|
|
35
|
-
TO_COPY+=("$CHILD")
|
|
36
|
-
fi
|
|
37
|
-
done
|
|
38
|
-
shopt -u extglob dotglob
|
|
39
|
-
set -xu
|
|
40
|
-
|
|
41
|
-
for CHILD in "${TO_COPY[@]}"; do
|
|
42
|
-
cp -rL "$CHILD" dist/$WEBSITE
|
|
43
|
-
done
|
|
44
|
-
|
|
45
|
-
echo "Processing Fluid source files:"
|
|
46
|
-
cp -r "${PREFIX}dist/fluid/fluid" dist/$WEBSITE
|
|
47
|
-
[ -d "website/$WEBSITE/fluid" ] && cp -r "website/$WEBSITE/fluid" dist/$WEBSITE
|
|
48
|
-
|
|
49
|
-
echo "Processing shared JavaScript files:"
|
|
50
|
-
cp -r "${PREFIX}dist/fluid/shared" dist/$WEBSITE
|
|
51
|
-
|
|
52
|
-
echo "Bundled website $WEBSITE"
|
package/script/util/clean.sh
DELETED
package/script/util/lisp-case.sh
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8
|
-
<title>Fluid Article Examples</title>
|
|
9
|
-
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
|
10
|
-
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
|
11
|
-
<script src="../shared/util.js"></script>
|
|
12
|
-
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
|
13
|
-
<style>
|
|
14
|
-
.grid-container, .grid-container.data-pane-hidden {
|
|
15
|
-
grid-template-columns: 0.8fr var(--toggle-button-width) var(--text-pane-width);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.when-data-pane-visible {
|
|
19
|
-
font-size: 10pt;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.grid-container.data-pane-hidden.when-data-pane-visible {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.data-pane {
|
|
27
|
-
display: grid;
|
|
28
|
-
grid-template-columns: min-content min-content;
|
|
29
|
-
vertical-align: top;
|
|
30
|
-
justify-content: end;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.data-pane * {
|
|
34
|
-
font-size: 9pt; /* otherwise interferes with .para-text */
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.para-text {
|
|
38
|
-
margin-left: 5pt;
|
|
39
|
-
margin-right: 3pt;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.intermediates:has(> *) {
|
|
43
|
-
border-right: 1px dotted #CCCCCC;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.matrix-cell.selected-primary-persistent {
|
|
47
|
-
fill: rgb(214, 240, 214)
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.matrix-cell-text.selected-primary-persistent:not(.matrix-cell-text.selected-primary-transient) {
|
|
51
|
-
color: green
|
|
52
|
-
}
|
|
53
|
-
</style>
|
|
54
|
-
</head>
|
|
55
|
-
<body>
|
|
56
|
-
<div id="grid" class="grid-container data-pane-hidden">
|
|
57
|
-
<div></div>
|
|
58
|
-
<div></div>
|
|
59
|
-
<div class="flex-left-align">
|
|
60
|
-
<h4>Matrix convolution</h4>
|
|
61
|
-
</div>
|
|
62
|
-
|
|
63
|
-
<div id="fig-data-pane" class="data-pane">
|
|
64
|
-
<div id="fig-input" class="flex-right-align data-pane-column"></div>
|
|
65
|
-
<div id="fig-intermediate" class="flex-right-align intermediates"></div>
|
|
66
|
-
</div>
|
|
67
|
-
<div onclick="toggleDataPane('grid')">
|
|
68
|
-
<i class="data-pane-button toggle-button fa-solid fa-eye-slash"></i>
|
|
69
|
-
</div>
|
|
70
|
-
<div class="flex-left-align">
|
|
71
|
-
<div class="flex-top-align">
|
|
72
|
-
<div id="fig">
|
|
73
|
-
<div class="fig-loading">loading figure(s)</div>
|
|
74
|
-
</div>
|
|
75
|
-
<div></div>
|
|
76
|
-
</div>
|
|
77
|
-
<details>
|
|
78
|
-
<summary>convolution.fld</summary>
|
|
79
|
-
<div id="codemirror-convolution"></div>
|
|
80
|
-
</details>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
|
|
84
|
-
<script type="module">
|
|
85
|
-
import { loadFigure, loadCode } from "../shared/load-figure.js"
|
|
86
|
-
const jsonSpec = {
|
|
87
|
-
"fluidSrcPath": ["../fluid"],
|
|
88
|
-
"inputs": [ "inputImage", "filter" ],
|
|
89
|
-
"query": true,
|
|
90
|
-
"linking": false
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
loadCode("../fluid/convolution.fld")()
|
|
94
|
-
loadFigure(jsonSpec)("fig")("../fluid/convolution.fld")()
|
|
95
|
-
</script>
|
|
96
|
-
</body>
|
|
97
|
-
</html>
|
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
@import url("https://fonts.googleapis.com/css2?family=Fira+Code&display=swap");
|
|
3
|
-
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
|
|
4
|
-
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;1,300;1,400&display=swap');
|
|
5
|
-
|
|
6
|
-
/* Dropped use of Graphik as seems to have a bug at font-weight 300 */
|
|
7
|
-
|
|
8
|
-
.fluid-logo {
|
|
9
|
-
margin-bottom: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.fluid-subtitle {
|
|
13
|
-
margin-bottom: 0;
|
|
14
|
-
margin-top: 0;
|
|
15
|
-
font-size: 12pt;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
a:link {
|
|
19
|
-
color: darkslategray;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
a:visited {
|
|
23
|
-
color: #004d40;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
a:hover {
|
|
27
|
-
color: #009688;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
a:active {
|
|
31
|
-
color: #003d33;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.right-justified {
|
|
35
|
-
margin-left: auto;
|
|
36
|
-
width: fit-content;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.nowrap {
|
|
40
|
-
white-space: nowrap;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
code {
|
|
44
|
-
font-family: 'Ubuntu Mono', monospace;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
body {
|
|
48
|
-
font-size: 12pt;
|
|
49
|
-
font-family: "Roboto", sans-serif;
|
|
50
|
-
font-weight: 300;
|
|
51
|
-
line-height: 1.25;
|
|
52
|
-
padding: 0;
|
|
53
|
-
margin: 0;
|
|
54
|
-
background-color: #FFFFFF;
|
|
55
|
-
color: #404040;
|
|
56
|
-
margin-bottom: 10em;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
p {
|
|
60
|
-
margin-top: 1em;
|
|
61
|
-
margin-bottom: 1em;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
p + p {
|
|
65
|
-
margin-top: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
svg {
|
|
69
|
-
overflow: visible;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.faq-question {
|
|
73
|
-
font-weight: 400;
|
|
74
|
-
color: darkslategrey;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.highlight {
|
|
78
|
-
font-weight: 400;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.align-right {
|
|
82
|
-
text-align: right;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
h2 {
|
|
86
|
-
font-size: 18pt;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
h3 {
|
|
90
|
-
width: 100%;
|
|
91
|
-
font-size: 16pt;
|
|
92
|
-
font-weight: bold;
|
|
93
|
-
margin-top: 10pt;
|
|
94
|
-
margin-bottom: 4pt;
|
|
95
|
-
border-bottom: 0.5px solid lightgray;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
h4 {
|
|
99
|
-
font-size: 16pt;
|
|
100
|
-
font-weight: bold;
|
|
101
|
-
margin-top: 0.4em;
|
|
102
|
-
margin-bottom: 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.sub-header * {
|
|
106
|
-
font-size: 16pt;
|
|
107
|
-
margin-bottom: 4px;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
ul {
|
|
111
|
-
padding-left: 20px;
|
|
112
|
-
margin-top: 0;
|
|
113
|
-
margin-bottom: 0;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
li {
|
|
117
|
-
margin-bottom: 1ex;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
li:last-child {
|
|
121
|
-
margin-bottom: 0;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.table-caption {
|
|
125
|
-
text-align: left;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
nav ul {
|
|
129
|
-
padding-left: 0;
|
|
130
|
-
list-style: none;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
nav ul li {
|
|
134
|
-
float: left;
|
|
135
|
-
overflow: hidden;
|
|
136
|
-
margin-bottom: 0;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
nav ul li:not(:last-child)::after {
|
|
140
|
-
content: "•";
|
|
141
|
-
margin-right: 5px;
|
|
142
|
-
margin-left: 5px;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
nav ul li.active-page a {
|
|
146
|
-
pointer-events: none;
|
|
147
|
-
color: inherit;
|
|
148
|
-
text-decoration: none;
|
|
149
|
-
cursor: default;
|
|
150
|
-
font-weight: bold;
|
|
151
|
-
color: rgb(135, 129, 255);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.cm-editor {
|
|
155
|
-
background: #2D2D2D;
|
|
156
|
-
color: #F0F0F0;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.cm-line {
|
|
160
|
-
font-family: 'Ubuntu Mono';
|
|
161
|
-
font-size: 10pt;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.cm-gutter {
|
|
165
|
-
background-color: #232323;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.cm-gutterElement {
|
|
169
|
-
font-family: 'Ubuntu Mono';
|
|
170
|
-
font-size: 10pt;
|
|
171
|
-
color: #88C0D0;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.right-border {
|
|
175
|
-
border-right: 0.5px solid lightgray;
|
|
176
|
-
padding-right: 6px;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.right-border + div {
|
|
180
|
-
padding-left: 4px
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.header-grid-container {
|
|
184
|
-
display: grid;
|
|
185
|
-
background-color: #f0f0f0;
|
|
186
|
-
width: 100%;
|
|
187
|
-
grid-template-columns: 30% 1fr;
|
|
188
|
-
padding-top: 7px;
|
|
189
|
-
padding-bottom: 7px;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.footer-grid-container {
|
|
193
|
-
display: grid;
|
|
194
|
-
background-color: #f0f0f0;
|
|
195
|
-
width: 100%;
|
|
196
|
-
grid-template-columns: 30% 1fr;
|
|
197
|
-
margin-top: 10px;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
:root {
|
|
201
|
-
--toggle-button-width: 24px;
|
|
202
|
-
--text-pane-width: 800px;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.grid-container {
|
|
206
|
-
display: grid;
|
|
207
|
-
grid-template-columns: auto var(--toggle-button-width) var(--text-pane-width);
|
|
208
|
-
justify-content: center;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.grid-container.data-pane-hidden {
|
|
212
|
-
grid-template-columns: 0 var(--toggle-button-width) var(--text-pane-width);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.grid-container.double-size {
|
|
216
|
-
max-width: 66.7vw; /* undo effect of transform: scale(1.5) for layout purposes */
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.grid-container > :last-child {
|
|
220
|
-
padding-right: 10px;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.flex-bottom-align {
|
|
224
|
-
display: flex;
|
|
225
|
-
flex-direction: row;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.flex-bottom-align:first-child {
|
|
229
|
-
margin-top: auto;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.flex-left-align {
|
|
233
|
-
display: flex;
|
|
234
|
-
flex-direction: column;
|
|
235
|
-
align-items: start;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.flex-right-align {
|
|
239
|
-
display: flex;
|
|
240
|
-
flex-direction: column;
|
|
241
|
-
align-items: flex-end;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.flex-top-align {
|
|
245
|
-
display: flex;
|
|
246
|
-
flex-direction: row;
|
|
247
|
-
align-items: flex-start;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.flex-bottom-align {
|
|
251
|
-
display: flex;
|
|
252
|
-
flex-direction: row;
|
|
253
|
-
align-items: flex-end;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.data-pane-button {
|
|
257
|
-
font-size: 10pt;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.toggle-button {
|
|
261
|
-
color: #CCCCCC;
|
|
262
|
-
user-select: none;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.toggle-button:hover {
|
|
266
|
-
color: #999999;
|
|
267
|
-
cursor: pointer;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.data-pane-column {
|
|
271
|
-
border-right: 1px dotted #CCCCCC;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.data-pane-hidden .data-pane {
|
|
275
|
-
visibility: hidden;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.data-pane-hidden .data-pane * {
|
|
279
|
-
display: none;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.data-pane {
|
|
283
|
-
padding-right: 0.25em;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.data-pane * {
|
|
287
|
-
font-size: 10pt;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.data-pane p {
|
|
291
|
-
margin-right: 3px;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/* Not actually double-size any more.. */
|
|
295
|
-
.double-size {
|
|
296
|
-
transform: scale(1.5);
|
|
297
|
-
transform-origin: top;
|
|
298
|
-
--text-pane-width: 600px;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
body.standalone {
|
|
302
|
-
height: 100%;
|
|
303
|
-
display: grid;
|
|
304
|
-
justify-items: center;
|
|
305
|
-
align-items: start;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
/* Needed for contained height specifications to work */
|
|
309
|
-
html {
|
|
310
|
-
height: 100%;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
@keyframes fadeIn {
|
|
314
|
-
from { opacity: 0; }
|
|
315
|
-
to { opacity: 1; }
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
.fig-loading:only-child {
|
|
319
|
-
color: fuchsia;
|
|
320
|
-
animation: fadeIn 2s ease-in-out infinite alternate;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.fig-loading:not(:only-child) {
|
|
324
|
-
display: none;
|
|
325
|
-
}
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
.legend-box {
|
|
2
|
-
stroke: lightgray;
|
|
3
|
-
stroke-width: 0.5px;
|
|
4
|
-
fill: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.legend-text {
|
|
8
|
-
font-size: 9pt;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.title-text {
|
|
12
|
-
fill: Black;
|
|
13
|
-
font-size: 9pt;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.table-caption {
|
|
17
|
-
border-bottom: 0.5px solid lightgray;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.table-view th {
|
|
21
|
-
font-size: 11px;
|
|
22
|
-
text-align: left;
|
|
23
|
-
border-bottom: 'thin solid';
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.table-view td {
|
|
27
|
-
font-size: 11px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.table-view td:nth-child(1) {
|
|
31
|
-
color: lightgray;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
table {
|
|
35
|
-
border-collapse: collapse;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
thead {
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.table-cell {
|
|
42
|
-
border-radius: 0px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
td.table-cell {
|
|
46
|
-
background-color: white;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.table-cell.inert {
|
|
50
|
-
color: lightgrey;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.table-cell.selected-primary-persistent {
|
|
54
|
-
background-color: #93E9BE;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.table-cell.selected-secondary-persistent {
|
|
58
|
-
background-color: rgb(226, 226, 226);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.table-cell.selected-primary-transient {
|
|
62
|
-
color: blue;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.table-cell.selected-secondary-transient {
|
|
66
|
-
/* color: royalblue; */
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.table-row {
|
|
70
|
-
display: table-row;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.table-row.hidden {
|
|
74
|
-
visibility: collapse;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/* To hide a column, add 'hidden' to every cell in the column. visibility: collapse doesn't work here. */
|
|
78
|
-
.table-cell.hidden {
|
|
79
|
-
display: none;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/* hack to match Safari-only */
|
|
83
|
-
@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
|
|
84
|
-
.table-row.hidden {
|
|
85
|
-
display: none; /* suboptimal for table rows but Safari doesn't support visibility: collapse */
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.linked-text {
|
|
90
|
-
border-radius: 0px;
|
|
91
|
-
background-color: White;
|
|
92
|
-
border-bottom-style: solid;
|
|
93
|
-
border-bottom-color: white;
|
|
94
|
-
border-bottom-width: 1px;
|
|
95
|
-
display: inline;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.linked-text.inert {
|
|
99
|
-
fill: lightgrey;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.linked-text.selected-primary-persistent {
|
|
103
|
-
background-color: #93E9BE;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.linked-text.selected-primary-transient {
|
|
107
|
-
border-bottom-color: blue;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.linked-text.selected-secondary-persistent {
|
|
111
|
-
background-color: rgb(226, 226, 226);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.linked-text.selected-secondary-transient {
|
|
115
|
-
border-bottom-color: lightblue;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.matrix-cell {
|
|
119
|
-
stroke: DarkGray;
|
|
120
|
-
fill: White;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.matrix-cell.inert {
|
|
124
|
-
stroke: DarkGray;
|
|
125
|
-
fill: rgb(185, 185, 185);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.matrix-cell.selected-primary-persistent {
|
|
129
|
-
fill: LightGreen;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.matrix-cell.selected-secondary-persistent {
|
|
133
|
-
fill: rgb(214, 240, 214)
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.matrix-cell.selected-primary-transient {
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.matrix-cell.selected-secondary-transient {
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.matrix-cell-text {
|
|
143
|
-
font-size: 10pt;
|
|
144
|
-
font-family: "Roboto", sans-serif;
|
|
145
|
-
color: rgb(205, 205, 205)
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.matrix-cell-text.selected-primary-persistent {
|
|
149
|
-
font-weight: 400;
|
|
150
|
-
color: darkgreen
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.matrix-cell-text.selected-secondary-persistent {
|
|
154
|
-
color: green
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.matrix-cell-text.selected-primary-transient {
|
|
158
|
-
font-weight: 400;
|
|
159
|
-
color: blue
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.matrix-cell-text.selected-secondary-transient {
|
|
163
|
-
color: royalblue
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.scatterplot-point {
|
|
167
|
-
fill: white;
|
|
168
|
-
stroke: black;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.scatterplot-point.inert {
|
|
172
|
-
fill: rgb(185,185,185);
|
|
173
|
-
stroke: black;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.scatterplot-point.selected-primary-persistent {
|
|
177
|
-
fill: LightGreen;
|
|
178
|
-
stroke: teal;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.scatterplot-point.selected-secondary-transient {
|
|
182
|
-
stroke: blue;
|
|
183
|
-
stroke-width: 1;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.scatterplot-point.selected-primary-transient {
|
|
187
|
-
stroke: blue;
|
|
188
|
-
stroke-width: 1;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.scatterplot-point.selected-secondary-persistent {
|
|
192
|
-
fill: rgb(226, 226, 226);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.scatterplot-point.selected-secondary-transient {
|
|
196
|
-
stroke-width: 1;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.para-text {
|
|
200
|
-
font-size: 10pt;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.bar {
|
|
204
|
-
stroke-width: 1.5;
|
|
205
|
-
}
|