Skip to content

Instantly share code, notes, and snippets.

View spellfusion's full-sized avatar

Andreas Scherren spellfusion

View GitHub Profile
@spellfusion
spellfusion / map-pallete.py
Created October 20, 2025 10:54 — forked from smiranda/map-pallete.py
A script to map two color palletes using delta_e_cie2000
import sys
import itertools
import networkx as nx
from networkx.algorithms import bipartite
from colormath.color_objects import sRGBColor, LabColor
from colormath.color_conversions import convert_color
from colormath.color_diff import delta_e_cie2000
# References
# (1) About comparing colors with colormath: https://dev.to/tejeshreddy/color-difference-between-2-colours-using-python-182b
@spellfusion
spellfusion / Containerfile
Created October 30, 2024 19:51 — forked from JessiAuro/Containerfile
Simple Containerfile/Dockerfile for lgogdownloader v3.14
FROM docker.io/library/alpine:3.20 as build
ENV DOWNLOADER_VERSION=3.14
RUN apk add --no-cache \
boost1.84-dev \
cmake \
curl-dev \
g++ \
git \