- numerotation 01_ a 10_ des workflows par complexite croissante - lefthook pre-commit avec mamba pour bloquer si tests cassent - github actions CI (python 3.10/3.11/3.12) sur push et PR - docs/pr-conventions.md pour les conventions de messages PR - mise a jour README section Contribute (tests, CI, git flow) - ajout coverage et lefthook dans requirements-dev.txt
420 lines
7.3 KiB
JSON
420 lines
7.3 KiB
JSON
{
|
|
"last_node_id": 10,
|
|
"last_link_id": 7,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "Note",
|
|
"pos": [
|
|
0,
|
|
0
|
|
],
|
|
"size": [
|
|
350,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"title": "Note FR",
|
|
"properties": {
|
|
"Node name for S&R": "Note"
|
|
},
|
|
"widgets_values": [
|
|
"🇫🇷 FRANÇAIS\n─────────────\nInterpolation entre deux couleurs d'une palette existante.\nOn crée un dégradé de 8 couleurs (rouge → bleu) puis on remplace\nles couleurs entre les indices 2 et 5 par un nouveau dégradé interpolé.\nComparez la palette avant et après l'opération.\n\n⚡ Nodes utilisés : CreateColorFromRGBNode, CreateGradientPaletteNode, GradientBetweenNode, PaletteViewNode"
|
|
],
|
|
"color": "#232",
|
|
"bgcolor": "#353"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "Note",
|
|
"pos": [
|
|
0,
|
|
230
|
|
],
|
|
"size": [
|
|
350,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"title": "Note EN",
|
|
"properties": {
|
|
"Node name for S&R": "Note"
|
|
},
|
|
"widgets_values": [
|
|
"🇬🇧 ENGLISH\n─────────────\nInterpolating between two colors in an existing palette.\nWe create an 8-color gradient (red → blue), then replace\ncolors between indices 2 and 5 with a new interpolated gradient.\nCompare the palette before and after the operation.\n\n⚡ Nodes used: CreateColorFromRGBNode, CreateGradientPaletteNode, GradientBetweenNode, PaletteViewNode"
|
|
],
|
|
"color": "#223",
|
|
"bgcolor": "#335"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "CreateColorFromRGBNode",
|
|
"pos": [
|
|
0,
|
|
500
|
|
],
|
|
"size": [
|
|
250,
|
|
170
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "color",
|
|
"type": "PIXEL_COLOR",
|
|
"links": [
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"title": "Rouge",
|
|
"properties": {
|
|
"Node name for S&R": "CreateColorFromRGBNode"
|
|
},
|
|
"widgets_values": [
|
|
255,
|
|
50,
|
|
50,
|
|
"Rouge"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "CreateColorFromRGBNode",
|
|
"pos": [
|
|
0,
|
|
700
|
|
],
|
|
"size": [
|
|
250,
|
|
170
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "color",
|
|
"type": "PIXEL_COLOR",
|
|
"links": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"title": "Bleu",
|
|
"properties": {
|
|
"Node name for S&R": "CreateColorFromRGBNode"
|
|
},
|
|
"widgets_values": [
|
|
50,
|
|
50,
|
|
255,
|
|
"Bleu"
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "CreateGradientPaletteNode",
|
|
"pos": [
|
|
320,
|
|
580
|
|
],
|
|
"size": [
|
|
280,
|
|
130
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "color_start",
|
|
"type": "PIXEL_COLOR",
|
|
"link": 1
|
|
},
|
|
{
|
|
"name": "color_end",
|
|
"type": "PIXEL_COLOR",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "gradient_palette",
|
|
"type": "PIXEL_PALETTE",
|
|
"links": [
|
|
3,
|
|
5
|
|
]
|
|
}
|
|
],
|
|
"title": "Gradient 8 (RGB)",
|
|
"properties": {
|
|
"Node name for S&R": "CreateGradientPaletteNode"
|
|
},
|
|
"widgets_values": [
|
|
8,
|
|
"rgb"
|
|
]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "PaletteViewNode",
|
|
"pos": [
|
|
660,
|
|
480
|
|
],
|
|
"size": [
|
|
280,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "palette",
|
|
"type": "PIXEL_PALETTE",
|
|
"link": 3
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
4
|
|
]
|
|
}
|
|
],
|
|
"title": "View (horizontal)",
|
|
"properties": {
|
|
"Node name for S&R": "PaletteViewNode"
|
|
},
|
|
"widgets_values": [
|
|
"horizontal",
|
|
48,
|
|
8,
|
|
false,
|
|
true,
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1000,
|
|
400
|
|
],
|
|
"size": [
|
|
250,
|
|
280
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 4
|
|
}
|
|
],
|
|
"title": "Preview",
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "GradientBetweenNode",
|
|
"pos": [
|
|
660,
|
|
640
|
|
],
|
|
"size": [
|
|
280,
|
|
130
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "palette",
|
|
"type": "PIXEL_PALETTE",
|
|
"link": 5
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "gradient_palette",
|
|
"type": "PIXEL_PALETTE",
|
|
"links": [
|
|
6
|
|
]
|
|
}
|
|
],
|
|
"title": "Gradient Between [2→5]",
|
|
"properties": {
|
|
"Node name for S&R": "GradientBetweenNode"
|
|
},
|
|
"widgets_values": [
|
|
2,
|
|
5,
|
|
"rgb"
|
|
]
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "PaletteViewNode",
|
|
"pos": [
|
|
1000,
|
|
580
|
|
],
|
|
"size": [
|
|
280,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "palette",
|
|
"type": "PIXEL_PALETTE",
|
|
"link": 6
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
7
|
|
]
|
|
}
|
|
],
|
|
"title": "View (horizontal)",
|
|
"properties": {
|
|
"Node name for S&R": "PaletteViewNode"
|
|
},
|
|
"widgets_values": [
|
|
"horizontal",
|
|
48,
|
|
8,
|
|
false,
|
|
true,
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1340,
|
|
500
|
|
],
|
|
"size": [
|
|
250,
|
|
280
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 7
|
|
}
|
|
],
|
|
"title": "Preview",
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
3,
|
|
0,
|
|
5,
|
|
0,
|
|
"PIXEL_COLOR"
|
|
],
|
|
[
|
|
2,
|
|
4,
|
|
0,
|
|
5,
|
|
1,
|
|
"PIXEL_COLOR"
|
|
],
|
|
[
|
|
3,
|
|
5,
|
|
0,
|
|
6,
|
|
0,
|
|
"PIXEL_PALETTE"
|
|
],
|
|
[
|
|
4,
|
|
6,
|
|
0,
|
|
7,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
5,
|
|
5,
|
|
0,
|
|
8,
|
|
0,
|
|
"PIXEL_PALETTE"
|
|
],
|
|
[
|
|
6,
|
|
8,
|
|
0,
|
|
9,
|
|
0,
|
|
"PIXEL_PALETTE"
|
|
],
|
|
[
|
|
7,
|
|
9,
|
|
0,
|
|
10,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1,
|
|
"offset": [
|
|
0,
|
|
0
|
|
]
|
|
},
|
|
"info": {
|
|
"title": "Test — GradientBetweenNode"
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |