This file contains hidden or 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
<html> | |
<head><meta charset='UTF-8'></head> | |
<body> | |
<label>Turn: <input id='turn' value='45'></label> | |
<label>Length: <input id='length' value='2'></label> | |
<label>Repeats: <input id='repeats' value='6'></label> | |
<button onclick='run();'>Run</button> | |
This file contains hidden or 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
Bubbles has FloatProperties/_ScrollRate?: True | |
Bubbles has FloatProperties/_ScrollJitterIntensity?: True | |
Bubbles has FloatProperties/_ScrollJitterFrequency?: True | |
Bubbles has FloatProperties/_SpreadRate?: True | |
Bubbles has TextureProperties/_MainTex?: True | |
CelVinyl has FloatProperties/_Cutoff?: True | |
CelVinyl has ColorProperties/_Color?: True | |
CelVinyl has TextureProperties/_MainTex?: True |
This file contains hidden or 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
"FloatProperties":{ | |
"_Bulge":2.25, | |
"_DisplacementAmount":1.45, | |
"_DisplacementExponent":2.84, | |
"_EmissionScroll1":15.0, | |
"_EmissionScroll2":-10.0, | |
"_FlameFadeMax":30.0, | |
"_FlameFadeMin":8.53, | |
"_Metallic":0.0, | |
"_NumSides":4.0, |
This file contains hidden or 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
Isohedral Tiling | Wallpaper Group | Tile | |
---|---|---|---|
IH1 | p1 | Hexagon | |
IH2 | pg | Hexagon | |
IH3 | pg | Hexagon | |
IH4 | p2 | Hexagon | |
IH5 | pgg | Hexagon | |
IH6 | pgg | Hexagon | |
IH7 | p3 | Hexagon | |
IH8 | p2 | Hexagon | |
IH9 | pgg | Hexagon |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
using Object = UnityEngine.Object; | |
public class MaterialGradientDrawer : MaterialPropertyDrawer { | |
private static Dictionary<(int, string), Gradient> knownGradients = new Dictionary<(int, string), Gradient>(); |
This file contains hidden or 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
// Standard shader with triplanar mapping | |
// https://github.com/keijiro/StandardTriplanar | |
Shader "Standard Triplanar Transparent" | |
{ | |
Properties | |
{ | |
_Color("", Color) = (1, 1, 1, 1) | |
_MainTex("", 2D) = "white" {} |
This file contains hidden or 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; | |
public class SetTrackOffsetPositionOnRelease : MonoBehaviour | |
{ | |
public GameObject feet; | |
public Transform target; | |
void OnEnable() | |
{ | |
MoveToTarget(); |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Reflection; | |
using System.Text; | |
using TiltBrush; | |
using UnityEditor; | |
using UnityEngine; | |
using Valve.Newtonsoft.Json.Utilities; |
This file contains hidden or 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 System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Conway; | |
using UnityEngine; | |
using Random = System.Random; | |
namespace TiltBrush.AndyB | |
{ |
This file contains hidden or 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
// Not working. | |
// Creates a batch that appears to have geometry but nothing is visible in the scene | |
override public void UpdateTool() | |
{ | |
base.UpdateTool(); | |
Transform rAttachPoint = InputManager.Brush.Geometry.ToolAttachPoint; | |
Vector3 pos = rAttachPoint.position; | |
Quaternion rot = rAttachPoint.rotation; |