{"id":1844,"date":"2013-04-08T18:10:48","date_gmt":"2013-04-08T15:10:48","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=1844"},"modified":"2013-08-17T02:19:10","modified_gmt":"2013-08-16T23:19:10","slug":"eulerian-water-simulation-2d-unity","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2013\/04\/08\/eulerian-water-simulation-2d-unity\/","title":{"rendered":"Eulerian Water Simulation C#"},"content":{"rendered":"<p><a title=\"start webplayer demo\" href=\"http:\/\/unitycoder.com\/upload\/demos\/WaterSim2\/\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1845\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2013\/04\/08\/eulerian-water-simulation-2d-unity\/eulerian_water_simulation_unity3d_1\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/eulerian_water_simulation_unity3d_1.jpg?fit=680%2C515&amp;ssl=1\" data-orig-size=\"680,515\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"eulerian_water_simulation_unity3d_1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/eulerian_water_simulation_unity3d_1.jpg?fit=680%2C515&amp;ssl=1\" class=\"alignnone size-full wp-image-1845\" alt=\"eulerian_water_simulation_unity3d_1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/eulerian_water_simulation_unity3d_1.jpg?resize=680%2C515\" width=\"680\" height=\"515\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/eulerian_water_simulation_unity3d_1.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/eulerian_water_simulation_unity3d_1.jpg?resize=300%2C227&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Converted one 2D water simulation to Unity, see original <a title=\"http:\/\/www.youtube.com\/watch?v=ZXPdI0WIvw0\" href=\"http:\/\/www.youtube.com\/watch?v=ZXPdI0WIvw0\" target=\"_blank\">code &amp; video<\/a> (youtube) &#8211; source link at description (by Matthew Bettcher)<br \/>\nCheck the old test also: <a title=\"http:\/\/unitycoder.com\/blog\/2012\/01\/14\/2d-fluids-cellular-automata-unity\/\" href=\"http:\/\/unitycoder.com\/blog\/2012\/01\/14\/2d-fluids-cellular-automata-unity\/\" target=\"_blank\">2D Fluids with Cellular Automata<\/a><\/p>\n<p><strong>TODO:<\/strong><br \/>\n&#8211; Erosion?<br \/>\n&#8211; Floating objects?<br \/>\n&#8211; Different types of fluids?<\/p>\n<p><strong>Webplayer:<\/strong><br \/>\n<a title=\"http:\/\/unitycoder.com\/upload\/demos\/WaterSim2\/\" href=\"http:\/\/unitycoder.com\/upload\/demos\/WaterSim2\/\" target=\"_blank\">http:\/\/unitycoder.com\/upload\/demos\/WaterSim2\/<\/a> (texture size: 64&#215;64)<\/p>\n<p><strong>Download source:<\/strong><br \/>\n<a title=\"Download Source\" href=\"http:\/\/unitycoder.com\/download\/index2.php?link=630&amp;uid=un1t3c0d5r\" target=\"_blank\"> eulerianWaterSim.unityPackage<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Converted one 2D water simulation to Unity, see original code &amp; video (youtube) &#8211; source link at description (by Matthew Bettcher) Check the old test also: 2D Fluids with Cellular Automata TODO: &#8211; Erosion? &#8211; Floating objects? &#8211; Different types of fluids? Webplayer: http:\/\/unitycoder.com\/upload\/demos\/WaterSim2\/ (texture [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1845,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,3],"tags":[65,473,119,354,472,471,60],"class_list":["post-1844","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-2d","tag-eulerian","tag-fluid","tag-grid","tag-simulation","tag-terraria","tag-water"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/eulerian_water_simulation_unity3d_1.jpg?fit=680%2C515&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-tK","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/1844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=1844"}],"version-history":[{"count":7,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/1844\/revisions"}],"predecessor-version":[{"id":2327,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/1844\/revisions\/2327"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/1845"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=1844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=1844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=1844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}