Skip to content

Instantly share code, notes, and snippets.

View Vanlalhriata's full-sized avatar

Vanlal Hriata Vanlalhriata

  • Aizawl, Mizoram, India
View GitHub Profile
@Vanlalhriata
Vanlalhriata / SavWav.cs
Last active July 18, 2022 16:25 — forked from darktable/SavWav.cs
Unity3D: script to save an AudioClip as a .wav file.
// Copyright (c) 2012 Calvin Rien
// http://the.darktable.com
//
// This software is provided 'as-is', without any express or implied warranty. In
// no event will the authors be held liable for any damages arising from the use
// of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions:
@Vanlalhriata
Vanlalhriata / README.md
Last active August 29, 2015 14:24 — forked from balint42/README.md

JS function for parsing SVG paths

Parse an svg path object and generate an Array of path commands. Each command is an Array of the form [command, arg1, arg2, ...] NOTE: parsing is done via pathSegList which is faster and more reliable than parsing the path string directly, but might not work in old browsers.