<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/canvaspp/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 11 Nov 2012 14:25:38 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/canvaspp/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v13
+++ v14
@@ -1,6 +1,3 @@
-**Русская версия сайта [здесь](на русском)**
-
-
 **Canvas++** is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
 
 **Quick start video: http://youtu.be/AeDaRlMsH5Q**
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sun, 11 Nov 2012 14:25:38 -0000</pubDate><guid>https://sourceforge.netee40b0eab67f038230aac8b9a408e072da491cc6</guid></item><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v12
+++ v13
@@ -1,4 +1,7 @@
-**Canvas++** ([на русском](на русском)) is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
+**Русская версия сайта [здесь](на русском)**
+
+
+**Canvas++** is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
 
 **Quick start video: http://youtu.be/AeDaRlMsH5Q**
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sun, 11 Nov 2012 14:20:19 -0000</pubDate><guid>https://sourceforge.netc1ff2d3ac1806e8cd9bbf21a6724bf90c8f78222</guid></item><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v11
+++ v12
@@ -1,4 +1,4 @@
-**Canvas++** ([на русском]()) is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
+**Canvas++** ([на русском](на русском)) is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
 
 **Quick start video: http://youtu.be/AeDaRlMsH5Q**
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sun, 11 Nov 2012 13:57:39 -0000</pubDate><guid>https://sourceforge.net9a734a90ca533da6ad876d31d396851410d2da11</guid></item><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v10
+++ v11
@@ -1,4 +1,4 @@
-**Canvas++** ([на русском]) is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
+**Canvas++** ([на русском]()) is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
 
 **Quick start video: http://youtu.be/AeDaRlMsH5Q**
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sun, 11 Nov 2012 13:57:15 -0000</pubDate><guid>https://sourceforge.net2a527fa6bd9384d15ae3ccb35cdb847dc2360ad5</guid></item><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v9
+++ v10
@@ -1,4 +1,4 @@
-**Canvas++** is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
+**Canvas++** ([на русском]) is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
 
 **Quick start video: http://youtu.be/AeDaRlMsH5Q**
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sat, 10 Nov 2012 15:15:23 -0000</pubDate><guid>https://sourceforge.net92099cd1874efec96f23daefbf417e010c005868</guid></item><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v8
+++ v9
@@ -1,5 +1,8 @@
 **Canvas++** is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
 
+**Quick start video: http://youtu.be/AeDaRlMsH5Q**
+
+Simple example:
 
     #include "canvas.hpp"
     using namespace cnv;
@@ -51,4 +54,3 @@
 
         system("pause");
     }
-
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sat, 26 May 2012 18:29:42 -0000</pubDate><guid>https://sourceforge.net5da8bc86884d5b85bb85d500355431c3cd18dc0d</guid></item><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v7 
+++ v8 
@@ -1,7 +1,7 @@
 **Canvas++** is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
 
 
-    #include "c:\\canvas.hpp"
+    #include "canvas.hpp"
     using namespace cnv;
     int main()
     {
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sun, 15 Apr 2012 17:51:17 -0000</pubDate><guid>https://sourceforge.netde532263c45539434ebdb1cce99a35ee9087e697</guid></item><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v6 
+++ v7 
@@ -1,14 +1,14 @@
 **Canvas++** is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
 
+
     #include "c:\\canvas.hpp"
     using namespace cnv;
     int main()
     {
         Window w;
         w.draw(Circle(150, 150, 100), Pen(0, 0, 255));
         system("pause");
     }
-
 
 
 Animated rose with 5 petals:
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sun, 15 Apr 2012 17:48:05 -0000</pubDate><guid>https://sourceforge.netbfd4fcadd94523047e1e2d827334f5954c353ce7</guid></item><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v5 
+++ v6 
@@ -8,3 +8,47 @@
         w.draw(Circle(150, 150, 100), Pen(0, 0, 255));
         system("pause");
     }
+
+
+
+Animated rose with 5 petals:
+
+    #include "canvas.hpp"
+    #include &lt;cmath&gt;
+
+    using namespace cnv;
+
+    int main()
+    {
+        Window w;
+        w.enable_frame_buffer(); // we want smooth animation
+        w.pen(Pen(PS_NULL)); // setting default pen to be invisible
+
+        const double pi = 3.141593;
+        const double delta = 0.01;
+        const int k = 5;
+        const int trace = 25;
+        const int x0 = w.width()/2;
+        const int y0 = w.height()/2;
+
+        for(double theta = 0; theta &lt;= 16*pi; theta += delta)
+        {
+            for(int i = trace; i; --i)
+            {
+                const double t = theta - 2*delta*i; 
+                const double r = x0 * sin(k*t)/2;
+                const int y = y0 + r*sin(t);
+                Brush b1(10*i, 10*i, 255); // blue brush
+                Brush b2(10*i, 10*i, 0); // yellow brush
+                w.draw(Circle(x0 + r*cos(t), y, (trace-i) / 3), b1);
+                w.draw(Circle(x0 - r*cos(t), y, (trace-i) / 3), b2);
+            }
+            
+            w.paint();
+            Sleep(10);
+            w.clear();
+        }
+
+        system("pause");
+    }
+
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sun, 15 Apr 2012 17:44:24 -0000</pubDate><guid>https://sourceforge.net6ee39e9f9506890a04e3ba9fb3844e6b6448e626</guid></item><item><title>WikiPage Home modified by Sav</title><link>https://sourceforge.net/p/canvaspp/wiki/Home/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -1,7 +1,5 @@
 **Canvas++** is a very simple graphics library contained in single header file. It's purpose is to make teaching of C++ more colorful and funny for kids and students. The main idea is to wrap windows API calls into simple interface. You can start drawing next after "Hello world" example - just declare Window variable and call method draw() to start drawing.
 
-Here's a simple example:
-
     #include "c:\\canvas.hpp"
     using namespace cnv;
     int main()
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sav</dc:creator><pubDate>Sun, 15 Apr 2012 15:41:45 -0000</pubDate><guid>https://sourceforge.net54a2cf26fc94f5349a8d9f42949ce75760c4eb93</guid></item></channel></rss>