Thispaperconstructsatreemodelbyusingthe3DstochasticandLsystemwithbrackets.Adjustingtherangeoftheparameters,thepresentmethodensuresafavorablerandomnessandreflectstherealityandtherealtime.Basedonasimplemechanicalmodel,thesimulationofthephenomenonofwindswayingtreessatisfiesvisualeffectswell.