Difference between revisions of "Musicboxes"
From CCRMA Wiki
m |
m |
||
Line 1: | Line 1: | ||
http://whitneymusicbox.org/ | http://whitneymusicbox.org/ | ||
+ | |||
+ | http://www.amazon.com/Digital-Harmony-Complementarity-Music-Visual/dp/007070015X | ||
rotating cylinders a la astrolabes | rotating cylinders a la astrolabes |
Latest revision as of 19:08, 25 August 2014
http://www.amazon.com/Digital-Harmony-Complementarity-Music-Visual/dp/007070015X
rotating cylinders a la astrolabes
spherical astrolabe
calculate n-times rotation / min. of various diameters
public class SpinningBox : MonoBehaviour { public float yawDegreesPerSecond = 10.0f; // Update is called once per frame void Update () { Vector3 localEulers = transform.localEulerAngles; localEulers.y += yawDegreesPerSecond * Time.deltaTime; transform.localEulerAngles = localEulers; }