using UnityEngine; namespace Normal.Realtime.Examples { public class VoiceMouthMove : MonoBehaviour { public SkinnedMeshRenderer[] skinned; private RealtimeAvatarVoice _voice; private float _mouthSize; void Awake() { _voice = GetComponent(); } void Update() { if (skinned != null) //not sure whether work or not { float targetMouthSize = Mathf.Lerp(0.1f, 1.0f, _voice.voiceVolume); _mouthSize = Mathf.Lerp(_mouthSize, targetMouthSize, 30.0f * Time.deltaTime); foreach (SkinnedMeshRenderer s in skinned)//not sure whether work or not { s.SetBlendShapeWeight(41, _mouthSize * 100); s.SetBlendShapeWeight(17, _mouthSize * 50); s.SetBlendShapeWeight(6, _mouthSize * 20); } } } } }
top of page

CHRISTMAS TREE

Made With

Unity-Logo.png

[L-system Project]

Mathematics and Graphics for Computer Games Assignment#1

at Goldsmiths University of London

2020 - 2021

Find the Christmas tree, The objective of this project is to create 6 simple deterministic context-free 2D example plants, plus 2 illustrated models by L-system based on programming software. This project allows the user to look at the different L-system parameters of a variety of plants in the interface. The implementation objectives include several interactive features for user input.

[Inspirations]

Please see the origianl viral video もう限界。無理。逃げ出したい:

 https://youtu.be/XGL2n1yCY1I​)

Related Knowledge

[About L-system]

About L-system and procedural graphics:

http://algorithmicbotany.org/papers/#abop

  • Facebook
  • Twitter
  • LinkedIn

©2021 by Mianzi Ltd

bottom of page