# Water Simulation
**Repository Path**: whuls/Water-Simulation
## Basic Information
- **Project Name**: Water Simulation
- **Description**: 简单的Cesium水模拟项目
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: https://whuls.gitee.io/water-simulation/Apps/Sandcastle/gallery2/particle.html
- **GVP Project**: No
## Statistics
- **Stars**: 11
- **Forks**: 0
- **Created**: 2018-10-21
- **Last Updated**: 2026-01-22
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 水模拟 - WaterSimulation
东西都放在 `Apps/Sandcastle/gallery2/` 里面了。在线地址:https://whuls.github.io/Water-Simulation/Apps/Sandcastle/gallery2/model.html
尝试模拟 **降雨** 、 **节流** 、 **汇水** 、 **排水** 的功能。
主要代码写在 `html` 文件中 `Sandcastle_Begin` 和 `Sandcastle_End` 之中的位置。
```JavaScript
//Sandcastle_Begin
// code...
//Sandcastle_End
```
## 学习资源
- [高级粒子系统 | Tutorials](https://cesiumjs.org/tutorials/Particle-Systems-More-Effects-Tutorial/)
- [粒子系统基础 | Tutorials](https://cesiumjs.org/tutorials/Particle-Systems-Tutorial/)
- [cesium调用天地图服务 | CSDN](https://blog.csdn.net/taiyang1987912/article/details/82842100)
- [cesium绘制河流流水 | CSDN](https://blog.csdn.net/weixin_42496466/article/details/80747565)
- [cesium中文教程 | marsgis](http://cesium.marsgis.cn/go.html?id=12)
- [API | marsgis](http://cesium.marsgis.cn/go.html?id=13)
- [API | 官方](https://cesiumjs.org/refdoc/)
## 预备条件
1. node
2. npm
## 安装
```shell
$npm install
```
## 运行
```shell
$node server
```
**参数**
- --public:true/false,本地项目或网络项目;
- --port:+ 端口号,部署的端口;
- - -
## Cesium.js 官方 README 内容
[](https://travis-ci.org/AnalyticalGraphicsInc/cesium)
[](http://cesiumjs.org/tutorials.html)
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics, and is cross-platform, cross-browser, and tuned for dynamic-data visualization.
http://cesiumjs.org/
### :rocket: Get Started ###
Visit the [Downloads page](http://cesiumjs.org/downloads.html) or use the npm module:
```
npm install cesium
```
Have questions? Ask them on the [forum](http://cesiumjs.org/forum.html).
Interested in contributing? See [CONTRIBUTING.md](CONTRIBUTING.md). :heart:
### :snowflake: Mission ###
Our mission is to create the leading 3D globe and map for static and time-dynamic content, with the best possible performance, precision, visual quality, platform support, community, and ease of use.
### :green_book: License ###
[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html). CesiumJS is free for both commercial and non-commercial use.
### :earth_americas: Where Does the 3D Content Come From? ###
CesiumJS can stream 3D content such as terrain, imagery, and 3D Tiles from the commercial [Cesium ion](https://cesium.com/blog/2018/03/01/hello-cesium-ion/)
platform and other content sources. You are free to use any combination of content sources with CesiumJS that you please.
Using Cesium ion helps support CesiumJS development. :heart:
### :clap: Featured Demos ###
### :clap: Demos ###