diff options
-rw-r--r-- | src/Home.svelte | 6 | ||||
-rw-r--r-- | src/Navbar.svelte | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/Home.svelte b/src/Home.svelte index 552e7ee..1a81465 100644 --- a/src/Home.svelte +++ b/src/Home.svelte @@ -7,3 +7,9 @@ Checkout my other <a href="https://andinus.unfla.me/projects">projects</a>. </p> +<p> + Inspired by Karishma's work: + <a href="https://karishmarajput.github.io/cg-algo"> + karishmarajput.github.io/cg-algo + </a>. +</p> diff --git a/src/Navbar.svelte b/src/Navbar.svelte index 04b63dd..4b0bba1 100644 --- a/src/Navbar.svelte +++ b/src/Navbar.svelte @@ -5,6 +5,7 @@ import DDA from './algorithms/line-drawing/DDA.svelte'; import Bresenham from './algorithms/line-drawing/Bresenham.svelte'; import Scaling from './algorithms/2d-transformations/Scaling.svelte'; + import Translation from './algorithms/2d-transformations/Translation.svelte'; const dispatch = createEventDispatcher(); const changePage = (p) => dispatch('message', { page: p }); @@ -31,7 +32,7 @@ <button on:click={() => changePage(Scaling)}> Scaling </button> - <button on:click={() => alert("Not Implemented.")}> + <button on:click={() => changePage(Translation)}> Translation </button> </div> |