diff options
-rw-r--r-- | algorithms.lua | 23 | ||||
-rw-r--r-- | main.lua | 4 |
2 files changed, 26 insertions, 1 deletions
diff --git a/algorithms.lua b/algorithms.lua new file mode 100644 index 0000000..dddfb92 --- /dev/null +++ b/algorithms.lua @@ -0,0 +1,23 @@ +--[[ + This file is part of HexArt Image Editor + Copyright (C) 2020 Soni L. + + 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/>. +--]] + +-- Various algorithms for image operations + +local algorithms = {} + +return algorithms diff --git a/main.lua b/main.lua index 09338ef..fc26c20 100644 --- a/main.lua +++ b/main.lua @@ -1,6 +1,6 @@ --[[ HexArt Image Editor - Copyright (C) 2019 Soni L. + Copyright (C) 2019, 2020 Soni L. 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 @@ -16,6 +16,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. --]] +local algorithms = require "algorithms" + local kt = {} local t = 0.05 local t0 = 0.5 -- initial cooldown |