Compare commits
2 Commits
abd4236665
...
6b1c24855d
Author | SHA1 | Date |
---|---|---|
Bauke | 6b1c24855d | |
Bauke | 9b14c67d80 |
|
@ -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.
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
1042
pnpm-lock.yaml
1042
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -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;
|
||||||
|
|
|
@ -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',
|
Loading…
Reference in New Issue