一、效果图:
![模拟下雨](https://i-blog.csdnimg.cn/blog_migrate/c0cdaabba7921d18b3c1dddd9e71876e.png)
二、代码实现
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>模拟下雨</title>
<style>
body{
margin: 0px;
overflow: hidden;
}
</style>
<script src="js/yanhuang/three.js"></script>
<script src="js/yanhuang/OrbitControls.js"></script>
</head>
<body>
<script>