Compare commits

...

2 Commits

Author SHA1 Message Date
Bauke 6b1c24855d
Fix runtime issues. 2022-10-02 23:50:51 +02:00
Bauke 9b14c67d80
Update dependencies, rename to Interlinked. 2022-10-02 23:43:19 +02:00
5 changed files with 493 additions and 568 deletions

View File

@ -1,7 +1,7 @@
# driftingnebula 🌌
# Interlinked 🌌
> **Generative art with GIMP, GEGL and ImageMagick.**
## License
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://git.bauke.xyz/driftingnebula/driftingnebula/src/branch/main/LICENSE) for more information.
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://git.bauke.xyz/driftingnebula/interlinked/src/branch/main/LICENSE) for more information.

View File

@ -1,10 +1,10 @@
{
"name": "driftingnebula",
"name": "interlinked",
"description": "Generative art with GIMP, GEGL and ImageMagick.",
"license": "AGPL-3.0-or-later",
"version": "1.0.0",
"scripts": {
"start": "node --loader=ts-node/esm --no-warnings source/driftingnebula.ts",
"start": "ts-node-esm source/interlinked.ts",
"test": "xo"
},
"dependencies": {
@ -12,10 +12,10 @@
"meow": "^10.1.2"
},
"devDependencies": {
"@types/node": "^17.0.21",
"@types/node": "^18.8.0",
"ts-node": "^10.6.0",
"typescript": "^4.6.2",
"xo": "^0.48.0"
"xo": "^0.52.3"
},
"type": "module",
"xo": {

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
export abstract class BaseOperation<P> {
export abstract class BaseOperation<P extends {}> {
public abstract get default(): P;
public parameters: P;

View File

@ -89,7 +89,7 @@ async function main(): Promise<void> {
} else {
const fullOutputFile = path.join(baseDir, outputFile);
if (createInputImage) {
await execa('magick', [
await execa('convert', [
'-size',
`${width}x${height}`,
'xc:white',
@ -116,8 +116,7 @@ async function main(): Promise<void> {
}
console.log(`* Writing ${compressedFile}`);
await execa('magick', [
'convert',
await execa('convert', [
fullOutputFile,
'-quality',
'92',