{"id":831,"date":"2014-10-08T07:17:15","date_gmt":"2014-10-08T00:17:15","guid":{"rendered":"http:\/\/daengdoang.wordpress.com\/2014\/10\/08\/338\/"},"modified":"2020-09-20T09:15:50","modified_gmt":"2020-09-20T02:15:50","slug":"grafika-komputer-circle-midpoint-drawing-algorithm","status":"publish","type":"post","link":"https:\/\/dae.ng\/blog\/2014\/10\/grafika-komputer-circle-midpoint-drawing-algorithm\/","title":{"rendered":"Grafika Komputer: Circle MidPoint Drawing Algorithm"},"content":{"rendered":"<p>Void CircleMidPoint (int Xcenter, int Ycenter, int Radius)<br \/>\n{<br \/>\nX = 0;<br \/>\nY = Radius;<br \/>\nP = 1 &#8211; Radius;<br \/>\nWhile (X&lt;Y) {<br \/>\nX = X+1;<br \/>\nIf (P &lt; 0)<br \/>\nP = P+ 2*X+1;<br \/>\nElse {<br \/>\nY = Y-1;<br \/>\nP = P+2*(X-Y)+1;<br \/>\n}<br \/>\n}<br \/>\nCirclePlotPoint();<\/p>\n<p>Hikmah:<br \/>\nHidup itu berputar, dan kondisinya berbeda di tiap kuadran dan oktan nya (tiap fase hidup), kadang minus kadang plus, kadang besar kadang kecil nilainya,<br \/>\nBerbahagialah orang yang selalu berbuat kebaikan,<\/p>\n<p>Circle MidPoint Drawing Algorithm,<br \/>\nComputer Graphics,<br \/>\nOctober 8th 2014 &#8211; at Gedung Ilmu Komputer (GIK) with Vanhas, Diky, and Zainal<\/p>\n<p>See on <a href=\"https:\/\/path.com\/p\/483bSv\">Path<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Void CircleMidPoint (int Xcenter, int Ycenter, int Radius) { X = 0; Y = Radius; P = 1 &#8211; Radius; While (X&lt;Y) { X = X+1; If (P &lt; 0) P = P+ 2*X+1; Else { Y = Y-1; P = P+2*(X-Y)+1; } } CirclePlotPoint(); Hikmah: Hidup itu berputar, dan kondisinya berbeda di tiap kuadran [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[166,2],"tags":[222,223,422,244],"class_list":["post-831","post","type-post","status-publish","format-standard","hentry","category-education","category-journal","tag-grafika-komputer","tag-grafis","tag-ilmu-komputer-upi","tag-komputer"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/posts\/831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/comments?post=831"}],"version-history":[{"count":1,"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/posts\/831\/revisions"}],"predecessor-version":[{"id":15751,"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/posts\/831\/revisions\/15751"}],"wp:attachment":[{"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/media?parent=831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/categories?post=831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dae.ng\/blog\/wp-json\/wp\/v2\/tags?post=831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}