Shader "MaterialPropertyDrawer"
{
Properties
{
_MainTex("Texture", 2D) = "white" {}
[HideInInspector] _MainTex2("Hide Texture", 2D) = "white" {}
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
using UnityEngine; | |
[ExecuteInEditMode] | |
public class RadialBlur : MonoBehaviour | |
{ | |
[SerializeField] private Shader _shader; | |
[Tooltip("テクスチャをサンプリングする回数、多いほど重くなる")] | |
[Range(4, 32)] public int Samples = 16; |
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
#ifndef __QUATERNION_INCLUDED__ | |
#define __QUATERNION_INCLUDED__ | |
#define QUATERNION_IDENTITY float4(0, 0, 0, 1) | |
#ifndef PI | |
#define PI 3.14159265359f | |
#endif | |
// Quaternion multiplication |
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
function addLog(text/*ログ内容*/) { | |
var spreadsheetId = "シートのID"; | |
var sheetName = "シート1"; | |
var spreadsheet = SpreadsheetApp.openById(spreadsheetId); | |
var sheet = spreadsheet.getSheetByName(sheetName); | |
sheet.appendRow([new Date()/*タイムスタンプ*/,text]); | |
return text; | |
} |
ver 1.0.3 (2016/05/11)
CSV.parse()
の内部実装をString.prototype.replace
からRegExp.prototype.exec
に変更した
ver 1.0.2 (2016/05/11)
CSV.parse()
で第三引数reviver
が指定された場合、配列化する前にセル値を引数にとるコールバック関数reviver
を呼び出すようにしたCSV.stringify()
で第三引数replacer
が指定された場合、CSV文字列に変換する前に要素値を引数にとるコールバック関数replacer
を呼び出すようにした
ver 1.0.1 (2016/05/10)
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
### | |
■■ PutOnNote | |
MIDIの音(Note)情報にあわせて選択されたアイテムを置きまくります | |
code by matsurai25 | |
http://matsurai25.info/put-on-note | |
■■ 使い方 | |
1. 複製したいコンポジションを選択した状態で実行 | |
2. MIDIを選択する |
Presented by いわーく, 上田哲広
Go言語で作ったチャットルームを公開しています。
githubでログインして使ってください。
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
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
# 実際の利用時には、途中の改行、および # で始まるコメント行は削除してね | |
/(?: | |
# 合成文字系 | |
# 数値 | |
(?:(?:\x0023|[\x0030-x0039])\x20E3)| | |
# 国旗 | |
(?:\x1F1E8\x1F1F3|\x1F1E9\x1F1EA|\x1F1EA\x1F1F8|\x1F1EB\x1F1F7|\x1F1EC\x1F1E7|\x1F1EE\x1F1F9|\x1F1EF\x1F1F5|\x1F1F0\x1F1F7|\x1F1F7\x1F1FA|\x1F1FA\x1F1F8)| | |
# 合成文字ここまで | |
# 以下単体文字(絵文字) | |
(?:\x00A9|\x00AE|\x2002|\x2003|\x2005|\x203C|\x2049|\x2122|\x2139|[\x2194-x2199]|\x21A9|\x21AA|\x231A|\x231B|\x23E9|\x23EA|\x23EB|\x23EC|\x23F0|\x23F3|\x24C2|\x25AA|\x25AB|\x25B6|\x25C0|\x25FB|\x25FC|\x25FD|\x25FE|\x2600|\x2601|\x260E|\x2611|\x2614|\x2615|\x261D|\x263A|\x2648|\x2649|\x264A|\x264B|\x264C|\x264D|\x264E|\x264F|\x2650|\x2651|\x2652|\x2653|\x2660|\x2663|\x2665|\x2666|\x2668|\x267B|\x267F|\x2693|\x26A0|\x26A1|\x26AA|\x26AB|\x26BD|\x26BE|\x26C4|\x26C5|\x26CE|\x26D4|\x26EA|\x26F2|\x26F3|\x26F5|\x26FA|\x26FD|\x2702|\x2705|\x2708|\x2709|\x270A|\x270B|\x270C|\x270F|\x2712|\x2714|\x2716|\x2728|\x2733|\x2734|\x2744|\x2747|\x274C|\x274E|\x2753|\x2754|\x2755|\x2757|\x2764|\x2795|\x2796|\x2797|\x27A1|\x27B0|\x2934|\x2935|\x2B05|\x2B0 |
NewerOlder