A Cesium fluid simulation that ports multi-buffer Shadertoy shaders to demonstrate custom Primitive rendering and DrawCommand in Cesium.

Stars

5

7-day growth

No data

Forks

4

Open issues

0

License

No data

Last updated

2026-07-27

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It offers a rare example of integrating complex Shadertoy effects into Cesium's 3D globe, and the README openly discusses the ethical challenges of sharing open-source code for learning versus unauthorized reselling.

Who it is for

  • Cesium developers seeking to learn custom rendering
  • 3D web graphics enthusiasts
  • GIS professionals exploring fluid simulations on maps
  • Shader porting learners

Use cases

  • Learning Cesium Primitive and DrawCommand APIs
  • Prototyping real-time fluid or smoke effects on a 3D map
  • Understanding Shadertoy-to-Cesium shader porting techniques

Strengths

  • Direct integration with Cesium's globe without external dependencies
  • Real-time fluid simulation performance demonstrated via ported shaders
  • Provides a concrete, commented reference for custom DrawCommand setup

Considerations

  • Code is not production-ready and explicitly discouraged for commercial use
  • No clear open-source license on ported shader code from other sources
  • Author emphasizes the code cannot support any real business logic

README quick start

Cesium流体模拟

着色器代码移植自https://www.shadertoy.com/view/7tSSDD及https://www.shadertoy.com/view/l33Sz8

其他说明

代码分享本身就是学习技术思路,没有人会把自己赚钱的业务代码分享出来。但是有的人,拿着你分享去开源代码去闲鱼售卖,被发现之后狗急跳墙来一句“就你这开源效果,就TM卖也卖不出去啊”。然后来一句“这不是你代码啊哥们,这只是之前没图随便找了一张图”,然后开启嘲讽、辱骂。“就你这开源效果”到“这不是你代码”,这种前后矛盾的话以及被拆穿后狗急跳墙。

闲鱼售卖 http://bilibili.com/video/BV1sJHSefEhq/ 的人很多,大多数联系上就下架了,这种没素质的,某自称“高德员工”的人是独一份。当然这份代码也同样不支持售卖,几个原因:1.这个代码几乎承载不了任何的业务,它可用作了解Cesium Primitive的绘制机制,了解如何自定义DrawCommand以及如何移植Shadertoy中的多Buffer着色器。2.代码中大多数关键代码来自其他分享渠道,没有明确的开源声明,售卖代码是商业行为。

寻求技术支持可以关注

公众号:少年啦1997 B站:少年啦1997

Description

基于 Cesium 的 SPH 地形流体模拟示例

Related repositories

Similar projects matched by category, topics, and programming language.

react
Featured
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web DevelopmentFrontend Frameworks
246,741
tandpfun
Featured
tandpfun GitHub avatar

wardrobe

A GPT‑image powered app that extracts individual garment cutouts from photos, organizes them into a digital wardrobe, and generates modeled outfit previews.

JavaScript
1,570
mshumer
Featured
mshumer GitHub avatar

Claude-of-Duty

A browser-based first-person shooter built entirely with procedural generation and orchestrated AI agents, featuring 55k lines of Three.js/WebGL2 code and no art assets.

AI & Machine LearningAI Agents
1,234