diff options
Diffstat (limited to 'src/algorithms/2d-transformations')
-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> |