about summary refs log tree commit diff stats
path: root/README.org
blob: d18a9e47a8aef6e697c43da8716f81b33a05a0ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#+title: Dorado
#+subtitle: Collection of Algorithms used in Computer Graphics
#+export_file_name: index
#+setupfile: ~/.emacs.d/org-templates/projects.org

| Demo    | https://andinus.unfla.me/dorado          |
| Website | https://andinus.unfla.me/projects/dorado |

| Source          | https://git.unfla.me/dorado       |
| GitHub (mirror) | https://github.com/andinus/dorado |

This is a continuation of [[https://andinus.unfla.me/projects/line-drawing.html][line-drawing.html]].

* Installation

The project is written in [[https://svelte.dev][Svelte]].

#+begin_src sh
# Clone the project.
git clone https://git.tilde.institute/andinus/dorado
cd dorado

npm install # Get dependencies.
npm run dev # Build for development.
npm run build # Build for deployment.
#+end_src

* Development

- ~src/App.svelte~: Main application.
- ~src/Home.svelte~: Home page.
- ~src/Navbar.svelte~: Navbar (links to all algorithms).
- ~src/algorithms~: Algorithms directory.

** Adding a new Algorithm

To add a new algorithm, create a file in ~src/algorithms~ and add the
entry to ~src/Navbar.svelte~.

* License

#+begin_src
Dorado - Collection of Algorithms used in Computer Graphics
Copyright (C) 2021, Andinus <andinus@nand.sh>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
#+end_src