about summary refs log tree commit diff stats
path: root/README
blob: f1c7ec59f7539c50321c9a2a3d40168e583b05f5 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                 DORADO
               Collection of Algorithms used in Computer
                                Graphics

                                Andinus
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


Table of Contents
─────────────────

Installation
Development
License


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Application  <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 [line-drawing.html].


[line-drawing.html]
<https://andinus.unfla.me/projects/line-drawing.html>


Installation
════════════

  The project is written in [Svelte].

  ┌────
  │ # 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.
  └────


[Svelte] <https://svelte.dev>


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
═══════

  ┌────
  │ 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/>.
  └────