From d6c7b89e88c39dade4f0cb5f4f65419c6a630d25 Mon Sep 17 00:00:00 2001 From: Nicolas Lebrun Date: Sun, 10 Dec 2023 10:06:46 +0100 Subject: [PATCH] add others palette from Aqueduct program --- .npmrc | 1 - package.json | 4 ++-- src/artists/k.ts | 27 +++++++++++++++++++++++++++ src/artists/l.ts | 15 +++++++++++++++ src/artists/m.ts | 39 +++++++++++++++++++++++++++++++++++++++ src/artists/n.ts | 15 +++++++++++++++ src/artists/o.ts | 15 +++++++++++++++ src/artists/p.ts | 27 +++++++++++++++++++++++++++ src/artists/r.ts | 23 +++++++++++++++++++++++ src/artists/s.ts | 27 +++++++++++++++++++++++++++ src/artists/t.ts | 15 +++++++++++++++ src/artists/v.ts | 27 +++++++++++++++++++++++++++ src/index.ts | 14 +++++++++++++- 13 files changed, 245 insertions(+), 4 deletions(-) delete mode 100644 .npmrc create mode 100644 src/artists/k.ts create mode 100644 src/artists/l.ts create mode 100644 src/artists/m.ts create mode 100644 src/artists/n.ts create mode 100644 src/artists/o.ts create mode 100644 src/artists/p.ts create mode 100644 src/artists/r.ts create mode 100644 src/artists/s.ts create mode 100644 src/artists/t.ts create mode 100644 src/artists/v.ts diff --git a/.npmrc b/.npmrc deleted file mode 100644 index d68bfaf..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -@nclslbrn:registry=https://npm.pkg.github.com \ No newline at end of file diff --git a/package.json b/package.json index c216487..64c80ed 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "A package to get random palette from iconic painting of art history", "author": "Nicolas Lebrun ", "license": "MIT", - "homepage": "https://nicolas-lebrun.fr", + "homepage": "https://github.com/nclslbrn/iconic-palettes", "repository": { "type": "git", "url": "https://github.com/nclslbrn/iconic-palettes.git" @@ -55,4 +55,4 @@ "engines": { "node": ">=12.7" } -} \ No newline at end of file +} diff --git a/src/artists/k.ts b/src/artists/k.ts new file mode 100644 index 0000000..9bd6c52 --- /dev/null +++ b/src/artists/k.ts @@ -0,0 +1,27 @@ +import { type Scheme } from "../index" + +export default [{ + meta: { + title: "Fire evening", + artist: "Paul Klee", + year: "1929", + techniques: "Oil" + }, + background: "#441C21", + colors: ["#8C1E92", "#FF4E0B", "#CD2019"], + stroke: "#4F51FE", + temp: "warm", + theme: "dark" +},{ + meta: { + title: "The Ten Largest, No. 7, Adulthood", + artist: "Hilma af Klint", + year: "1907", + techniques: "Tempera" + }, + background: "#c69fa4", + colors: ["#d84036", "#eeb639", "#3e3427", "#617b58", "#a89f7e", "#8da4bd"], + stroke: "#e1ccbc", + temp: "warm", + theme: "bright" +}] as Scheme[] \ No newline at end of file diff --git a/src/artists/l.ts b/src/artists/l.ts new file mode 100644 index 0000000..9e6038b --- /dev/null +++ b/src/artists/l.ts @@ -0,0 +1,15 @@ +import { type Scheme } from "../index" + +export default [ { + meta: { + title: "Squiggles", + artist: "Sol Lewitt", + year: "1997", + techniques: "Gouache" + }, + background: "#EAF2F0", + colors: ["#F9C40A", "#0A71B6", "#EB5432"], + stroke: "#190506", + temp: "warm", + theme:"bright" +},] as Scheme[] \ No newline at end of file diff --git a/src/artists/m.ts b/src/artists/m.ts new file mode 100644 index 0000000..7e72a9a --- /dev/null +++ b/src/artists/m.ts @@ -0,0 +1,39 @@ +import { type Scheme } from "../index" + +export default [ { + meta: { + title: "The Son of Man", + artist: "René Magritte", + year: "1964", + techniques:"Oil" + }, + background: "#E3BFA1", + colors: ["#3A282F", "#B60614", "#909018", "#92adb6"], + stroke: "#EE833E", + temp: "warm", + theme: "bright" +},{ + meta: { + title: "Suprematist Composition", + artist: "Kazimir Malevich", + year: "1916", + techiques: "Oil" + }, + background: "#eae8e6", + colors: ["#001A56", "#197C3F", "#D4A821", "#C74C25"], + stroke: "#151817", + temp: "cold", + theme: "bright" +}, { + meta: { + title: "Untitled", + artist: "Agnes Martin", + year: "1952", + techniques: "Watercolor and ink" + }, + background: "#ddcfb4", + colors: ["#a6a08c", "#768bb1", "#b18676", "#8d897e"], + stroke: "#33312f", + temp: "cold", + theme: "bright" +},] as Scheme[] \ No newline at end of file diff --git a/src/artists/n.ts b/src/artists/n.ts new file mode 100644 index 0000000..8d8a1bf --- /dev/null +++ b/src/artists/n.ts @@ -0,0 +1,15 @@ +import { type Scheme } from "../index" + +export default [{ + meta: { + title: "Vir Heroicus Sublimis", + artist: "Barnett Newman", + year: "1951", + techniques: "Oil" + }, + background: "#dfd9a5", + colors: ["#A6885D", "#8A3230", "#973B2B"], + stroke: "#442327", + temp: "warm", + theme: "bright" +},] as Scheme[] \ No newline at end of file diff --git a/src/artists/o.ts b/src/artists/o.ts new file mode 100644 index 0000000..0aea0d5 --- /dev/null +++ b/src/artists/o.ts @@ -0,0 +1,15 @@ +import { type Scheme } from "../index" + +export default [{ + meta: { + title: "Music, Pink and Blue, №2", + artist: "Georgia O’Keeffe", + year: "1918", + techniques: "Oil" + }, + background: "#fed1bc", + colors: ["#add0cb", "#3fadd3", "#e2a6d6", "#0280b5"], + stroke: "#f04d40", + temp: "warm", + theme: "bright" +}] as Scheme[] \ No newline at end of file diff --git a/src/artists/p.ts b/src/artists/p.ts new file mode 100644 index 0000000..8dbdbdd --- /dev/null +++ b/src/artists/p.ts @@ -0,0 +1,27 @@ +import { type Scheme } from "../index" + +export default [ { + meta: { + title: "A Girl Before A Mirror", + artist: "Pablo Picasso", + year: "1903", + techniques: "Oil" + }, + background: "#1e1c1d", + colors: ["#7fad91", "#b7573e", "#ee963f", "#daca6a", "#475294", "#798eab"], + stroke: "#ccc0ce", + temp: "warm", + theme: "dark" +}, { + meta: { + title: "Number 1", + artist: "Jackson Pollock", + year: "1949", + techniques: "Enamel and metallic paint" + }, + background: "#1A1C23", + colors: ["#D89CA9", "#1962A0", "#E8C051"], + stroke: "#F1ECD7", + temp: "warm", + theme: "cold" +},] as Scheme[] \ No newline at end of file diff --git a/src/artists/r.ts b/src/artists/r.ts new file mode 100644 index 0000000..76e1e52 --- /dev/null +++ b/src/artists/r.ts @@ -0,0 +1,23 @@ +import { type Scheme } from "../index" + +export default [ { + meta: { + title: "Movement in Squares", + artist: "Bridget Riley", + year: "1961", + techniques: "Synthetic emulsion on board" + }, + background: "#1b4b5f", + colors: [ + "#c84054", + "#c3982b", + "#4260b8", + "#2e8162", + "#185bc3", + "#b877b1", + "#adc370", + ], + stroke: "#e3ddc2", + temp: "cold", + theme: "dark" +},] as Scheme[] \ No newline at end of file diff --git a/src/artists/s.ts b/src/artists/s.ts new file mode 100644 index 0000000..66b0781 --- /dev/null +++ b/src/artists/s.ts @@ -0,0 +1,27 @@ +import { type Scheme } from "../index" + +export default [ { + meta: { + title: "Latent", + artist: "Jenny Saville", + year: "2022", + techniques: "Acrylic and pastel" + }, + background: "#cb4c4f", + colors: ["#602f1c", "#7f4c46", "#e49f9c"], + stroke: "#4f739b", + temp: "warm", + theme: "bright" +},{ + meta: { + title: "Untitled #92", + artist: "Cindy Sherman", + year: "1981", + techniques: "Chromogenic print" + }, + background: "#09090f", + colors: ["#041933", "#073846", "#208cbe", "#deb49b"], + stroke: "#dfe8ef", + temp: "cold", + theme: "dark" +}] as Scheme[] \ No newline at end of file diff --git a/src/artists/t.ts b/src/artists/t.ts new file mode 100644 index 0000000..3f6d784 --- /dev/null +++ b/src/artists/t.ts @@ -0,0 +1,15 @@ +import { type Scheme } from "../index" + +export default [{ + meta: { + title: "The Fifth Plague of Egypt", + artist: "Joseph Mallord William Turner", + year: "1800", + techniques: "Oil" + }, + background: "#1d2729", + colors: ["#d9cac0", "#131314", "#bb9c68", "#6f422a", "#636c67"], + stroke: "#D7CBB8", + temp: "cold", + theme: "dark" +},] as Scheme[] \ No newline at end of file diff --git a/src/artists/v.ts b/src/artists/v.ts new file mode 100644 index 0000000..5f8da03 --- /dev/null +++ b/src/artists/v.ts @@ -0,0 +1,27 @@ +import { type Scheme } from "../index" + +export default [{ + meta: { + title: "CELL", + artist: "Victor Vasarely", + year: "1970", + techniques: "Acrylic" + }, + background: "#07042c", + colors: ["#d12938", "#387589", "#5272ef"], + stroke: "#5ba9c7", + temp: "cold", + theme: "dark" +}, { + meta: { + title: "Girl With A Pearl Earring", + artist: "Johannes Vermeer", + year: "1665", + techniques: "Oil" + }, + background: "#000115", + colors: ["#ccd7e9", "#361e12", "#dcb371"], + stroke: "#f7e5d9", + temp: "warm", + theme: "dark" +}] as Scheme[] \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 06712bc..21d9633 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,10 +31,22 @@ import c from './artists/c'; import d from './artists/d'; import g from './artists/g'; import h from './artists/h'; +import k from './artists/k'; +import l from './artists/l'; +import m from './artists/m'; +import n from './artists/n'; +import o from './artists/o'; +import p from './artists/p'; +import r from './artists/r'; +import s from './artists/s'; +import t from './artists/t'; +import v from './artists/v'; const palettes: Scheme[] = [ - ...b, ...c, ...d, ...g, ...h + ...b, ...c, ...d, ...g, ...h, ...k, + ...l, ...m, ...n, ...o, ...p, ...r, + ...s, ...t, ...v ] /** * Return a random palette