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.** > **Generative art with GIMP, GEGL and ImageMagick.**
## License ## 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.", "description": "Generative art with GIMP, GEGL and ImageMagick.",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"version": "1.0.0", "version": "1.0.0",
"scripts": { "scripts": {
"start": "node --loader=ts-node/esm --no-warnings source/driftingnebula.ts", "start": "ts-node-esm source/interlinked.ts",
"test": "xo" "test": "xo"
}, },
"dependencies": { "dependencies": {
@ -12,10 +12,10 @@
"meow": "^10.1.2" "meow": "^10.1.2"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^17.0.21", "@types/node": "^18.8.0",
"ts-node": "^10.6.0", "ts-node": "^10.6.0",
"typescript": "^4.6.2", "typescript": "^4.6.2",
"xo": "^0.48.0" "xo": "^0.52.3"
}, },
"type": "module", "type": "module",
"xo": { "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 abstract get default(): P;
public parameters: P; public parameters: P;

View File

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