{"id":4971,"date":"2014-01-30T08:06:13","date_gmt":"2014-01-30T00:06:13","guid":{"rendered":"http:\/\/www.vbtutor.net\/?page_id=4971"},"modified":"2018-06-24T17:24:58","modified_gmt":"2018-06-24T09:24:58","slug":"visual-basic-2013-lesson-32-creating-animation","status":"publish","type":"page","link":"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-32-creating-animation\/","title":{"rendered":"Visual Basic 2013 Lesson 32: Creating Animation"},"content":{"rendered":"<h4 style=\"text-align: center;\"><a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-31-using-timer\/\">[Lesson 31] <\/a>&lt;&lt; <a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-tutorial\/\">[Contents] <\/a>&gt;&gt; <a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-33-working-databases-introduction\/\">[Lesson 33]<\/a><\/h4>\n<p>In the preceding lesson, we have actually learned how to create animation using the timer. In fact, the programs we have created in the previous lesson such as the stopwatch and the digital dice are animated programs. In this lesson, we shall show you how to create more advanced animated programs.<\/p>\n<h3><strong>32.1 Creating Animation<\/strong><\/h3>\n<p>We can create a continuously moving object using the timer.\u00a0The motion can be from left to right or from top to bottom motion or diagonal.<\/p>\n<p>First, insert a picture box into the form. In the picture box properties window, select the image property and click to import an image file from your storage devices such as your hard drive, your pen drive or DVD drive. We have inserted an image of a bunch of grapes.Next, insert a Timer control into the form and set its Interval property to 100, which is equivalent to 0.1 seconds. Finally, add two buttons to the form, name one of them as AnimateBtn and the other one as StopBtn, and change to caption to Animate and Stop respectively.<\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"3914691604\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\nWe make use of the Left property of the picture box to create the motion. PictureBox.Left means the distance of the PictureBox from the left border of the Form. Now click on the Timer control and type in the following code:<\/p>\n<pre style=\"font-size: 110%;\">Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick\r\n If PictureBox1.Left &lt; Me.Width Then\r\n  PictureBox1.Left = PictureBox1.Left + 10\r\n Else\r\n  PictureBox1.Left = 0\r\n End If\r\nEnd Sub\r\n<\/pre>\n<p>In the code above, Me.Width represents the width of the Form. If the distance of the PictureBox from the left is less than the width of the Form, a value of 10 is added to the distance of the PictureBox from the left border each time the Timer tick, or every 0.1 seconds in this example. When the distance of the PictureBox from the left border is equal to the width of the form, the distance from the left border is set to 0, which move the PictureBox object to the left border and then move left again, thus creates an oscillating motion from left to right. We need to insert a button to stop motion. The code is:<\/p>\n<pre style=\"font-size: 110%;\">Timer1.Enabled = False\r\n<\/pre>\n<p>To animate the PictureBox object, we insert a button and enter the following code:<\/p>\n<pre style=\"font-size: 110%;\">Timer1.Enabled = True\r\n<\/pre>\n<p>The runtime interface<\/p>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.vbtutor.net\/vb2010\/vb2010_Image\/vb2010_lesson28_2.jpg\" alt=\"\" width=\"70%\" height=\"auto\" \/><\/p>\n<h4>Figure 32.1<\/h4>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"3914691604\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h3>32.2 Creating a Graphical Dice<\/h3>\n<p>In preceding lessons, we have learned how to create graphics and draw objects on the form. Now we shall use the previous knowledge to create an animated graphical dice using the timer.<\/p>\n<p>In this program, we need to insert a timer and set its interval to 100, which means the drawings will refresh every 0.1 seconds. Next, insert a picture box which is used as the surface of a dice. Finally, add a button and change its text to Roll. Under the Timer sub procedure, we create the Graphics object and the Pen object following the procedures we have learned in preceding lessons. Next, we use a Do loop and the Select Case structure to cycle through all six surfaces of the dice. To create six random cases, we use the syntax<strong> n = Int(6 * Rnd()) + 1<\/strong>.\u00a0We can stop the loop by introducing a variable t and the loop until condition. The condition we set here is t&gt;1000, you can use any figure you wish.<\/p>\n<p><strong>The code<\/strong><\/p>\n<pre style=\"font-size: 110%;\">Private Sub BtnRoll_Click(sender As Object, e As EventArgs) Handles BtnRoll.Click\r\n Timer1.Enabled = True\r\nEnd Sub\r\n\r\nPrivate Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick\r\nDim t As Integer\r\n t = 0\r\nDo\r\n MyPicBox.Refresh()\r\nDim n As Integer\r\nDim myPen As Pen\r\n myPen = New Pen(Drawing.Color.DarkTurquoise, 10)\r\nDim myGraphics As Graphics = MyPicBox.CreateGraphics\r\n n = Int(6 * Rnd()) + 1\r\nSelect Case n\r\n\r\n Case 1\r\n myGraphics.DrawEllipse(myPen, 80, 80, 10, 10)\r\n\r\n Case 2\r\n  myGraphics.DrawEllipse(myPen, 40, 40, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 120, 120, 10, 10)\r\n\r\n Case 3\r\n  myGraphics.DrawEllipse(myPen, 40, 40, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 80, 80, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 120, 120, 10, 10)\r\n\r\n Case 4\r\n  myGraphics.DrawEllipse(myPen, 40, 40, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 120, 40, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 40, 120, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 120, 120, 10, 10)\r\n Case 5\r\n  myGraphics.DrawEllipse(myPen, 40, 40, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 120, 40, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 80, 80, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 40, 120, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 120, 120, 10, 10)\r\n\r\n Case 6\r\n  myGraphics.DrawEllipse(myPen, 40, 40, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 120, 40, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 40, 80, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 120, 80, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 40, 120, 10, 10)\r\n  myGraphics.DrawEllipse(myPen, 120, 120, 10, 10)\r\nEnd Select\r\n  t = t + 1\r\n Loop Until t &gt; 1000\r\n  Timer1.Enabled = False\r\nEnd Sub\r\n<\/pre>\n<p>The runtime interface is as shown in Figure 32.2<\/p>\n<p><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure32.2.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-4984\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure32.2.jpg\" alt=\"vb2013_figure32.2\" width=\"40%\" height=\"auto\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>Figure 32.2<\/strong><\/p>\n<h3>32.3 Creating a Slot Machine<\/h3>\n<p>In this program, we add three picture boxes, a timer, a button and a label. Set the timer interval to 10, which means the images will refresh every 0.01 second. In the code, we shall introduce four variables m, a, b and c, where m is used to stop the timer and a,b,c are used to generate random images using the syntax\u00a0Int(1 + Rnd() * 3). \u00a0To load the images, we use the following syntax:<\/p>\n<p><strong>PictureBox.Image = Image.FromFile(Path of the image file)<\/strong><\/p>\n<p>We employ the If&#8230;Then structure to control the timer and the Select Case&#8230;..End Select structure to generate the random images. The label is used to display the message of the outcomes.<\/p>\n<p><strong>The Code<\/strong><\/p>\n<pre style=\"font-size: 110%;\">Public Class Form1\r\nDim m, a, b, c As Integer\r\nPrivate Sub BtnSpin_Click(sender As Object, e As EventArgs) Handles BtnSpin.Click\r\n Timer1.Enabled = True\r\nEnd Sub\r\n\r\nPrivate Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick\r\n m = m + 10\r\n If m &lt; 1000 Then\r\n  a = Int(1 + Rnd() * 3)\r\n  b = Int(1 + Rnd() * 3)\r\n  c = Int(1 + Rnd() * 3)\r\n\r\nSelect Case a\r\n Case 1\r\n  PictureBox1.Image = Image.FromFile(\"C:\\vb2010\\vb2010_Image\\apple.gif\")\r\n Case 2\r\n  PictureBox1.Image = Image.FromFile(\"C:\\vb2010\\vb2010_Image\\grape.gif\")\r\n Case 3\r\n  PictureBox1.Image = Image.FromFile(\"C:\\vb2010\\vb2010_Image\\strawberry.gif\")\r\n\r\nEnd Select\r\n\r\nSelect Case b\r\n Case 1\r\n  PictureBox2.Image = Image.FromFile(\"C:\\vb2010\\vb2010_Image\\apple.gif\")\r\n Case 2\r\n  PictureBox2.Image = Image.FromFile(\"C:\\vb2010\\vb2010_Image\\grape.gif\")\r\n Case 3\r\n  PictureBox2.Image = Image.FromFile(\"C:\\vb2010\\vb2010_Image\\strawberry.gif\")\r\n\r\nEnd Select\r\nSelect Case c\r\n Case 1\r\n  PictureBox3.Image = Image.FromFile(\"C:\\vb2010\\vb2010_Image\\apple.gif\")\r\n Case 2\r\n  PictureBox3.Image = Image.FromFile(\"C:\\vb2010\\vb2010_Image\\grape.gif\")\r\n Case 3\r\n  PictureBox3.Image = Image.FromFile(\"C:\\vb2010\\vb2010_Image\\strawberry.gif\")\r\n\r\nEnd Select\r\n\r\nElse\r\nTimer1.Enabled = False\r\n m = 0\r\nIf a = b And b = c Then\r\n LblMsg.Text = \"Jackpot! You won $1,000,000\"\r\nElse\r\n LblMsg.Text = \"No luck, try again\"\r\nEnd If\r\nEnd If\r\nEnd Sub\r\nEnd Class\r\n<\/pre>\n<p>The runtime interface is shown in Figure 32.3<\/p>\n<p><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure32.3.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-4985\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure32.3.jpg\" alt=\"vb2013_figure32.3\" width=\"40%\" height=\"auto\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><strong>Figure 32.3\u00a0<\/strong><\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-format=\"autorelaxed\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"2306771905\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h4 style=\"text-align: center;\"><a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-31-using-timer\/\">[Lesson 31]\u00a0<\/a>&lt;&lt;\u00a0<a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-tutorial\/\">[Contents]\u00a0<\/a>&gt;&gt; <a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-33-working-databases-introduction\/\">[Lesson 33]<\/a><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>[Lesson 31] &lt;&lt; [Contents] &gt;&gt; [Lesson 33] In the preceding lesson, we have actually learned how to create animation using the timer. In fact, the programs we have created in the previous lesson such as the stopwatch and the digital dice are animated programs. In this lesson, we shall show you how to create more &hellip; <a href=\"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-32-creating-animation\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Visual Basic 2013 Lesson 32: Creating Animation<\/span><\/a><\/p>\n","protected":false},"author":23013,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-4971","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Visual Basic 2013 Lesson 32: Creating Animation - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB<\/title>\n<meta name=\"description\" content=\"This article explains how to create animation in visual basic 2013\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Visual Basic 2013 Lesson 32: Creating Animation - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"og:description\" content=\"This article explains how to create animation in visual basic 2013\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html\" \/>\n<meta property=\"og:site_name\" content=\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Vbtutor\" \/>\n<meta property=\"article:modified_time\" content=\"2018-06-24T09:24:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vbtutor.net\/vb2010\/vb2010_Image\/vb2010_lesson28_2.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@liewvk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-32-creating-animation\/\",\"url\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html\",\"name\":\"Visual Basic 2013 Lesson 32: Creating Animation - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"isPartOf\":{\"@id\":\"https:\/\/www.vbtutor.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vbtutor.net\/vb2010\/vb2010_Image\/vb2010_lesson28_2.jpg\",\"datePublished\":\"2014-01-30T00:06:13+00:00\",\"dateModified\":\"2018-06-24T09:24:58+00:00\",\"description\":\"This article explains how to create animation in visual basic 2013\",\"breadcrumb\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#primaryimage\",\"url\":\"https:\/\/www.vbtutor.net\/vb2010\/vb2010_Image\/vb2010_lesson28_2.jpg\",\"contentUrl\":\"https:\/\/www.vbtutor.net\/vb2010\/vb2010_Image\/vb2010_lesson28_2.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vbtutor.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Visual Basic 2013 Lesson 32: Creating Animation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vbtutor.net\/#website\",\"url\":\"https:\/\/www.vbtutor.net\/\",\"name\":\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"description\":\"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.\",\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Visual Basic 2013 Lesson 32: Creating Animation - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"This article explains how to create animation in visual basic 2013","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html","og_locale":"en_US","og_type":"article","og_title":"Visual Basic 2013 Lesson 32: Creating Animation - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","og_description":"This article explains how to create animation in visual basic 2013","og_url":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html","og_site_name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","article_publisher":"https:\/\/www.facebook.com\/Vbtutor","article_modified_time":"2018-06-24T09:24:58+00:00","og_image":[{"url":"https:\/\/www.vbtutor.net\/vb2010\/vb2010_Image\/vb2010_lesson28_2.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@liewvk","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-32-creating-animation\/","url":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html","name":"Visual Basic 2013 Lesson 32: Creating Animation - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","isPartOf":{"@id":"https:\/\/www.vbtutor.net\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#primaryimage"},"image":{"@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#primaryimage"},"thumbnailUrl":"https:\/\/www.vbtutor.net\/vb2010\/vb2010_Image\/vb2010_lesson28_2.jpg","datePublished":"2014-01-30T00:06:13+00:00","dateModified":"2018-06-24T09:24:58+00:00","description":"This article explains how to create animation in visual basic 2013","breadcrumb":{"@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#primaryimage","url":"https:\/\/www.vbtutor.net\/vb2010\/vb2010_Image\/vb2010_lesson28_2.jpg","contentUrl":"https:\/\/www.vbtutor.net\/vb2010\/vb2010_Image\/vb2010_lesson28_2.jpg"},{"@type":"BreadcrumbList","@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson32.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vbtutor.net\/"},{"@type":"ListItem","position":2,"name":"Visual Basic 2013 Lesson 32: Creating Animation"}]},{"@type":"WebSite","@id":"https:\/\/www.vbtutor.net\/#website","url":"https:\/\/www.vbtutor.net\/","name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.","inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/4971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/users\/23013"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/comments?post=4971"}],"version-history":[{"count":48,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/4971\/revisions"}],"predecessor-version":[{"id":13086,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/4971\/revisions\/13086"}],"wp:attachment":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/media?parent=4971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/categories?post=4971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/tags?post=4971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}