"This demo is built on the Reaction-Diffusion template from the WebGL playground and Evgeny Demidov's fluid simulation.
Anyway, this implementation does not use the OpenGL extension OES_TEXTURE_FLOAT. Instead a 16bit ""minifloat"" buffer is used here.
The extension might still be a good start for optimization!
To be correct these aren't real ""Turing patterns"", though the dots are quite characteristic. What you see is actually the simpler kind of one-component Reaction-Diffusion equations.
The skin dot synthesis' native texture resolution is 1024x512 and the fluid simulation uses 512x256 cells. WebGL GPGPU, here ya go!"
WEBGL 3D 프로그래밍을 이용한 유체 시뮬레이션
소스다운로드 :
'인터넷과 유틸 > HTML5' 카테고리의 다른 글
Canvas를 이용한 3D구현 (1) html5 활용예제 (0) | 2014.11.10 |
---|---|
3D landscape in HTML5 canvas -HTML5 Canvas 이용하여 지형 랜더링 (0) | 2014.11.10 |
Simple 3D HTML5 Canvas (3) (0) | 2014.11.10 |