Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Thomas Mansencal KelSolaar

🎯
Focusing
Block or report user

Report or block KelSolaar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@KelSolaar
KelSolaar / colour-0.3.16-current-changes.md
Last active Feb 27, 2020
Colour 0.3.16 - Current Changes
View colour-0.3.16-current-changes.md

Colour 0.3.16 - Alpha Milestone

Features

colour.utilities

  • It is now possible to pass an axis argument to the colour.utilities.metric_mse and colour.utilities.metric_psnr definitions.

Fixes

@KelSolaar
KelSolaar / inkscape.py
Last active Feb 24, 2020
Inkscape - macOs - Absolute Path Wrapper
View inkscape.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Inkscape - macOs - Absolute Path Wrapper
========================================
On *macOs*, *Inkscape* requires absolute paths to work::
https://answers.launchpad.net/inkscape/+question/280575
@KelSolaar
KelSolaar / cornell_box_to_sRGB.py
Last active Dec 15, 2019
Cornell Box to sRGB
View cornell_box_to_sRGB.py
import numpy as np
import colour
D = np.array([
[400, 0.343, 0.092, 0.040],
[404, 0.445, 0.096, 0.046],
[408, 0.551, 0.098, 0.048],
[412, 0.624, 0.097, 0.053],
[416, 0.665, 0.098, 0.049],
[420, 0.687, 0.095, 0.050],
@KelSolaar
KelSolaar / snapOnClosestVertex.py
Created Jun 10, 2010
Autodesk Maya - Snap On Closest Vertex - Python Script
View snapOnClosestVertex.py
The code previously provided in this Gist has been moved there: https://github.com/KelSolaar/Snippets/blob/master/src/maya/libraries/snapOnClosestVertex.py
@KelSolaar
KelSolaar / pyproject.toml
Created Sep 28, 2019
Colour - pyproject.toml
View pyproject.toml
[tool.poetry]
name = "colour-science"
packages = [
{ include="colour", from="." },
]
version = "0.3.13"
description = "Colour Science for Python"
license = "BSD-3-Clause"
authors = [ "Colour Developers" ]
readme = 'README.rst'
@KelSolaar
KelSolaar / artifact.yml
Created Sep 18, 2019
A.R.T. - Artifact
View artifact.yml
name: A.R.T. - Artifact
on: [push]
jobs:
build:
runs-on: macOS-10.14
steps:
@KelSolaar
KelSolaar / .travis.yml
Created Sep 17, 2019
OpenImageIO - Artifacts
View .travis.yml
dist: bionic
sudo: true
language: python
matrix:
fast_finish: true
include:
- python: 3.6
env:
- PYTHON_VERSION="3.6"
@KelSolaar
KelSolaar / Dockerfile
Last active Jul 17, 2019
ociolutimage - Docker Wrapper
View Dockerfile
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y \
build-essential \
git \
freeglut3-dev \
libglew-dev \
libilmbase-dev \
@KelSolaar
KelSolaar / colour_examples_and_unit_tests_recommended_values.py
Last active Jun 27, 2019
Recommended Values for Use in Colour Examples and Unit Tests
View colour_examples_and_unit_tests_recommended_values.py
@KelSolaar
KelSolaar / Pinboard.scpt
Created Mar 9, 2019 — forked from itst/Pinboard.scpt
Import and update your Pinboard bookmarks to DEVONthink
View Pinboard.scpt
(* Import and update your Pinboard bookmarks to DEVONthink
Based on work done by Christian Grunenberg on Mon Jan 23 2006,
Rafael Bugajewski to support Pinboard instead of Delicious on Sun Dec 19 2010 and
Andreas Zeitler on Sun Mar 03 2011 to display user feedback when finished.
By Sascha A. Carlin <https://sascha.carlin.de/> on 2018-03-07 to set the creation date of new record, show progress bar, use Pinboard Auth Token, use modification date of folder to fetch only recent items
Copyright (c) 2018. All rights reserved. *)
use framework "Foundation"
You can’t perform that action at this time.