This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SKTimingFunction.swift | |
// Pods | |
// | |
// Created by Takuya Okamoto on 2015/10/06. | |
// | |
// | |
// inspired by https://gist.github.com/raphaelschaad/6739676 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package starling.extensions.DistanceFieldFont | |
{ | |
import flash.geom.Rectangle; | |
import flash.utils.Dictionary; | |
import starling.display.Image; | |
import starling.text.BitmapChar; | |
import starling.textures.Texture; | |
import starling.textures.TextureSmoothing; | |
import starling.utils.HAlign; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sys import argv | |
from shapely.ops import polygonize | |
from shapely.geometry import asShape, LineString | |
import json | |
if __name__ == '__main__': | |
input = argv[1] | |
input = json.load(open(input)) |