diff options
author | karishmarajput <karrajput3948@gmail.com> | 2021-10-26 10:40:16 +0530 |
---|---|---|
committer | karishmarajput <karrajput3948@gmail.com> | 2021-10-26 10:40:16 +0530 |
commit | ddea5bc7050ecae2081cb7ed7a7c2ee206a53e8f (patch) | |
tree | 205eac9db64feb9a69d4a8c143bfa79ad01e0584 /src | |
parent | 89299f7508cc5ce1f88c1629f6c7ab6d4e5b4a77 (diff) | |
download | dorado-ddea5bc7050ecae2081cb7ed7a7c2ee206a53e8f.tar.gz |
translated points table added
Diffstat (limited to 'src')
-rw-r--r-- | src/algorithms/2d-transformations/Translation.svelte | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/algorithms/2d-transformations/Translation.svelte b/src/algorithms/2d-transformations/Translation.svelte index 9ce71da..1fff3e9 100644 --- a/src/algorithms/2d-transformations/Translation.svelte +++ b/src/algorithms/2d-transformations/Translation.svelte @@ -108,6 +108,24 @@ {/each} </tbody> </table> + <h4>Translation Points</h4> + <table> + <thead> + <tr> + + <th>x</th> + <th>y</th> + </tr> + </thead> + <tbody> + {#each translatedPointsArray.x as _, i} + <tr> + <td>{translatedPointsArray.x[i]}</td> + <td>{translatedPointsArray.y[i]}</td> + </tr> + {/each} + </tbody> + </table> {/if} <div id="algoChart"></div> |