Skip to content

Instantly share code, notes, and snippets.

View Yiiip's full-sized avatar
🍊

Felix8bit Yiiip

🍊
View GitHub Profile
@Yiiip
Yiiip / CircleGraphic.cs
Created October 29, 2018 07:19 — forked from yasirkula/CircleGraphic.cs
Create circles/ellipses in Unity UI system in one of three modes: FillInside, FillOutside and Edge.
using UnityEngine;
using UnityEngine.UI;
public class CircleGraphic : MaskableGraphic
{
public enum Mode { FillInside = 0, FillOutside = 1, Edge = 2 };
[Header( "-> The Real Deal <- <- <-" )]
[SerializeField]
private int detail = 64;
@Yiiip
Yiiip / OpenSimplexNoise.java
Created January 9, 2018 15:53 — forked from KdotJPG/OpenSimplex2S.java
Visually axis-decorrelated coherent noise algorithm based on the Simplectic honeycomb.
/*
* OpenSimplex Noise in Java.
* by Kurt Spencer
*
* v1.1 (October 5, 2014)
* - Added 2D and 4D implementations.
* - Proper gradient sets for all dimensions, from a
* dimensionally-generalizable scheme with an actual
* rhyme and reason behind it.
* - Removed default permutation array in favor of