From cc84a04869dbebf27c77338eb15269b006e322bd Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Mon, 30 Nov 2020 19:02:38 +0000 Subject: Update wasm thx section --- md/writeup/wasm_fractal.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'md/writeup') diff --git a/md/writeup/wasm_fractal.md b/md/writeup/wasm_fractal.md index b47c391..17effbd 100644 --- a/md/writeup/wasm_fractal.md +++ b/md/writeup/wasm_fractal.md @@ -14,13 +14,13 @@ run latest tech in browser woohoo. ## Insights -As demo works on linux and in browser there is some quircks to overcome to make code -compatible for both tehnologies. It wasnt straight away to just compile and join app SDL+OpenGL +As demo works on linux and in browser there is some quirks to overcome to make code +compatible for both technologies. It wasnt straight away to just compile and join app SDL+OpenGL for wasm. ### Main loop -Each C program have main entry point. And SDL programms usual structure include loop +Each C program have main entry point. And SDL programm usual structure include loop that get events and execute them. ```c @@ -82,7 +82,7 @@ allocated buffer. ### Shaders -First versions of drawing loop didnt worked out of the box in browse. There was spent some time +First versions of drawing loop didn't worked out of the box in browse. There was spent some time to find a way to run shader. Got errors in shader language in browser, while on linux evertyhing was working. There is version difference between shader language supported between linux and was platform. Main fix was to define earlier shader language version. @@ -124,10 +124,9 @@ Permanent residence of demo, with latest version available [Demo - http://wasm.main.lv/fractal](http://wasm.main.lv/fractal) - ## Thx -[developers.lv](https://developers.lv) - for first tryouts +[developers.lv](https://developers.lv) - for first tryouts [daGrevis](https://github.com/daGrevis),[Aleksejs](https://twitter.com/AleksejsIvanovs),[Tenjou](https://github.com/tenjou) ## Source @@ -137,7 +136,7 @@ Source provided as is, no any attempt to make it easy to build is made. ## Links -[01] [/writeup/web_assembly_sdl_example.md](/writeup/web_assembly_sdl_example.md) +[01] [main.lv/writeup/web_assembly_sdl_example.md](/writeup/web_assembly_sdl_example.md) [02] [https://github.com/opengl-tutorials/ogl/blob/master/tutorial04_colored_cube/tutorial04.cpp](https://github.com/opengl-tutorials/ogl/blob/master/tutorial04_colored_cube/tutorial04.cpp) [03] [https://arm-software.github.io/opengl-es-sdk-for-android/introduction_to_shaders.html](https://arm-software.github.io/opengl-es-sdk-for-android/introduction_to_shaders.html) [04] [https://gist.github.com/SuperV1234/5c5ad838fe5fe1bf54f9](https://gist.github.com/SuperV1234/5c5ad838fe5fe1bf54f9) \ No newline at end of file -- cgit v1.2.3