Skip to content

Instantly share code, notes, and snippets.

View jhnsnc's full-sized avatar
🐢
Slow to respond on Github. Most personal projects are on hold, sorry! 🙇

Chris Johnson jhnsnc

🐢
Slow to respond on Github. Most personal projects are on hold, sorry! 🙇
View GitHub Profile
@timo22345
timo22345 / flatten.js
Last active August 12, 2024 06:19
Flatten.js, general SVG flattener. Flattens transformations of SVG shapes and paths. All shapes and path commands are supported.
<!doctype html>
<html>
<title>Flatten.js, General SVG Flattener</title>
<head>
<script>
/*
Random path and shape generator, flattener test base: https://jsfiddle.net/fjm9423q/embedded/result/
Basic usage example: https://jsfiddle.net/nrjvmqur/embedded/result/
@darktable
darktable / DebugConsole.cs
Created December 1, 2011 00:25
Unity3D: Heavily modified version of Jeremy Hollingsworth's DebugConsole script.
#define DEBUG_CONSOLE
#define DEBUG_LEVEL_LOG
#define DEBUG_LEVEL_WARN
#define DEBUG_LEVEL_ERROR
#if (UNITY_EDITOR || DEVELOPMENT_BUILD)
#define DEBUG
#endif
#if (UNITY_IOS || UNITY_ANDROID)