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
| // Made with Amplify Shader Editor | |
| // Available at the Unity Asset Store - http://u3d.as/y3X | |
| Shader "SubsurfaceTest" | |
| { | |
| Properties | |
| { | |
| [HideInInspector] _AlphaCutoff("Alpha Cutoff ", Range(0, 1)) = 0.5 | |
| [HideInInspector] _EmissionColor("Emission Color", Color) = (1,1,1,1) | |
| [ASEBegin]_MainColor("Main Color", Color) = (0.3921569,0.3921569,0.3921569,1) | |
| _SpecularColor("Specular Color", Color) = (0.3921569,0.3921569,0.3921569,1) |
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
| function preload(){ | |
| imgjson = loadJSON('https://raw.githubusercontent.com/itspacchu/Javascript-projects/master/fourierCirclesRE/jsondata.json'); | |
| ref = loadImage('imgs/whoCouldItBeEh.png'); | |
| } | |
| function setup() { | |
| //img = loadImage('imgs/whoCouldItBeEh.png'); | |
| width = window.innerWidth; | |
| height = window.innerHeight; | |
| thecanvas = createCanvas(width, height); |
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
| import bpy | |
| import math | |
| import numpy as np | |
| import random | |
| rawdata = ['978.1466642174169,416.0576927689958', | |
| '1006.8180157843148,417.5706213803142', | |
| '1036.7920721872522,416.6868738547563', | |
| '1066.747012249827,416.38719890540835', | |
| '1059.6128569614289,409.33416276234385', |
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
| import numpy as np | |
| def dft(x): | |
| X = [] | |
| N = len(x) | |
| for k in range(-N,N): | |
| re = 0 | |
| im = 0 | |
| for n in range(0,N): | |
| phi = (2*np.pi*k*n)/N |
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
| # %% | |
| import numpy as np | |
| # %% | |
| p,q=list(),list() | |
| p0,p1,q0,q1 = list(map(int,input('').split(' '))) | |
| p.append(p0);p.append(p1);q.append(q0);q.append(q1) | |
| i = int(input()) | |
| arealist = [] |
NewerOlder