<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebGL | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/webgl/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Mon, 04 Jan 2021 20:05:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>WebGL | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Fascinating online WebGL</title>
		<link>https://learncgames.com/fascinating-online-webgl/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fascinating-online-webgl</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Wed, 06 Jan 2021 00:00:49 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[WebGL]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=2306</guid>

					<description><![CDATA[<p>WebGL (Web Graphics Library) is a JavaScript API for rendering interactive 2D and 3D graphics in a compatible web browser without the use of plug-ins. A developer called Todd Fleming has created a webpage where C++ programs (and maybe C?) can be compiled online by Clang and then run in the browser. The colourful rabbits [&#8230;]</p>
The post <a href="https://learncgames.com/fascinating-online-webgl/">Fascinating online WebGL</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:272,&quot;href&quot;:&quot;https:\/\/tbfleming.github.io\/cib&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260204124603\/https:\/\/tbfleming.github.io\/cib\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:21:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-19 08:09:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-22 19:06:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-01 17:05:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-04 18:15:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-10 16:20:43&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-14 22:59:27&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-03 05:20:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-10 14:01:33&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-20 17:28:01&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-20 17:28:01&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-2307" src="https://learncgames.com/wp-content/uploads/2021/01/WebGL-Rabbits-300x221.png" alt="WebGL Rabbits" width="300" height="221" srcset="https://learncgames.com/wp-content/uploads/2021/01/WebGL-Rabbits-300x221.png 300w, https://learncgames.com/wp-content/uploads/2021/01/WebGL-Rabbits-768x566.png 768w, https://learncgames.com/wp-content/uploads/2021/01/WebGL-Rabbits.png 784w" sizes="(max-width: 300px) 100vw, 300px" />WebGL (<em>Web Graphics Library</em>) is a JavaScript API for rendering interactive 2D and 3D graphics in a compatible web browser without the use of plug-ins. A developer called Todd Fleming has created a <a title="Link to WebGL compile page" href="https://tbfleming.github.io/cib/" target="_blank" rel="nofollow noopener">webpage</a> where C++ programs (and maybe C?) can be compiled online by Clang and then run in the browser.</p>
<p>The colourful rabbits (<em>numbering approximately 30</em>) in the screenshot are rendered in real-time and rotated and moved (transformed). Each rabbit is actually each made up of 66,848 triangles.  Just click the (<em>WebGL- Flying bunnies</em>)  link on the right-hand side to load the 335 lines C++ source program then hit the compile button. After it has compiled in a second or so hit the Reboot/Run button on the right-hand side to start it running.</p>
<p>You can select all the source code and copy/paste it into a text editor if you want to examine it. You even can save out the compiled wasm (<em>WebAssembly</em>) file if you really want to though as it&#8217;s binary, it probably won&#8217;t mean too much unless you have a viewer.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/fascinating-online-webgl/">Fascinating online WebGL</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2306</post-id>	</item>
	</channel>
</rss>
