diff options
author | Andinus <andinus@nand.sh> | 2021-10-11 11:16:03 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-10-11 11:16:03 +0530 |
commit | e397069d454a9c0c6a8cd680be4a58d8bcd9a81b (patch) | |
tree | 826bd83d2844dcc7f63385400e2da3b7d1f4adbc /src/algorithms | |
parent | ea9db62c67a3817918e5581b0b1477c9494844f7 (diff) | |
download | dorado-e397069d454a9c0c6a8cd680be4a58d8bcd9a81b.tar.gz |
Add 2d transformation module
Diffstat (limited to 'src/algorithms')
-rw-r--r-- | src/algorithms/2d-transformations/Scaling.svelte | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/algorithms/2d-transformations/Scaling.svelte b/src/algorithms/2d-transformations/Scaling.svelte new file mode 100644 index 0000000..ce312de --- /dev/null +++ b/src/algorithms/2d-transformations/Scaling.svelte @@ -0,0 +1,18 @@ +<script> + import { onMount } from "svelte"; + import Plotly from "plotly.js-basic-dist-min"; + + onMount(() => { + Plotly.newPlot('algoChart', [{ + x: [1, 2], + y: [2, 3], + type: 'lines', + name: 'Scaling' + }]); + }); +</script> + +<h2>Scaling</h2> +<div id="algoChart"></div> +<style> +</style> |