An experiment on natural color shades. NOTE: doesn't work with pure gray tones at the moment.
A Pen by Phoenix Enero on CodePen.
An experiment on natural color shades. NOTE: doesn't work with pure gray tones at the moment.
A Pen by Phoenix Enero on CodePen.
-- Written by Phoenix Enero. MIT License. Sorry for bad english | |
-- Global Config | |
local os = 'windows' -- 'unix' | |
local settings = { | |
-- note: must be contained in single quotes | |
text_domain = "'megatherium'", | |
function_names = 'megatherium_', | |
text_domain_style = 'Text Domain: megatherium', | |
docblocks = ' Megatherium', |
#!/usr/bin/env ruby | |
require 'optparse' | |
# Get available characters | |
# | |
# Written by Phoenix Enero. | |
# | |
# It requires: | |
# - `woff2sfnt` command-line tool. It can be installed through | |
# `apt-get install woff-tools` in Ubuntu/Debian. |
#!/usr/bin/env ruby | |
require 'optparse' | |
# Get available characters | |
# | |
# Written by Phoenix Enero. | |
# | |
# It takes a font input in OTF/TTF format and returns a text file with the | |
# cmap. |
// This returns an anonymous function that returns a new gulp-if pipe | |
// https://github.com/OverZealous/lazypipe#using-with-more-complex-function-arguments-such-as-gulp-if | |
function lazygulpif( condition, pipeFunction, args ) { | |
args = ! args ? [] : args; | |
args = args.constructor === Array ? args : [ args ]; | |
return function() { | |
return gulpif( condition, pipeFunction.apply( this, args ) ); | |
}; | |
} |
-- These are random scattered thoughts about this hypothetical language. I did | |
-- my best to make it "Lua-y". Ideally most existing Lua code should compile to | |
-- near-equivalent code. | |
-- Wrap print function so that it also returns what was passed | |
local _pr | |
do | |
old_print = print | |
function _pr(...) do | |
old_print(...) |
A very opinionated guide by icrawler.
This guide is very opinionated and you don't need to follow the exact steps I outline here.
This has been written for desktop but most of the concepts here apply to many editors as well.
For the programs, you can use pretty much any well-featured photo-editing/digital art program. Those that include:
# -*- coding: utf-8 -*- | |
# Copyright: Damien Elmes <anki@ichi2.net> | |
# Used/unused kanji list code originally by 'LaC' | |
# License: GNU GPL, version 3 or later; http://www.gnu.org/copyleft/gpl.html | |
import unicodedata | |
from anki.hooks import addHook | |
from anki.utils import ids2str, splitFields | |
from aqt import mw | |
from aqt.webview import AnkiWebView |