{"id":1273,"date":"2023-03-29T23:54:25","date_gmt":"2023-03-30T03:54:25","guid":{"rendered":"https:\/\/jausoft.com\/blog\/?p=1273"},"modified":"2023-03-29T23:56:32","modified_gmt":"2023-03-30T03:56:32","slug":"graphui-type-animation-update-1","status":"publish","type":"post","link":"https:\/\/jausoft.com\/blog\/2023\/03\/29\/graphui-type-animation-update-1\/","title":{"rendered":"GraphUI &#8211; Type Animation Update 1"},"content":{"rendered":"<p>The <a href=\"https:\/\/jausoft.com\/blog\/tag\/graph_type_rendering\/\">Graph Type Rendering and UI<\/a> Saga continues. <a href=\"https:\/\/jogamp.org\/cgit\/jogl.git\/tree\/src\/demos\/com\/jogamp\/opengl\/demos\/graph\/ui\/UISceneDemo03.java\">UISceneDemo03<\/a> update using the new GraphUI <a href=\"https:\/\/jogamp.org\/cgit\/jogl.git\/tree\/src\/graphui\/classes\/com\/jogamp\/graph\/ui\/gl\/shapes\/GlyphShape.java#n44\">GlyphShape<\/a>, handling string processing into a list of GlyphShapes while preserving unscaled target position inclusive kerning. The demo also uses an enhanced smooth target arrival. <!--more--><\/p>\n<p>One good thing about these demos is, they squeeze API versatility and test corner cases. The Shape&#8217;s setTransform(..) had to be fixed once again, i.e. preserving the scaled size on rotations, hence rotate after scale. Next-up might be a GlyphShape-String like Label, but with build-in easy to use animations instead of coded out like in this demo.<\/p>\n<p>But enough writing, here is the flawless demo rendered using whole screen MSAA 4.<\/p>\n<div style=\"width: 640px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-1273-1\" width=\"640\" height=\"360\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/jausoft.com\/Files\/media\/20230330-UISceneDemo03.mp4?_=1\" \/><a href=\"https:\/\/jausoft.com\/Files\/media\/20230330-UISceneDemo03.mp4\">https:\/\/jausoft.com\/Files\/media\/20230330-UISceneDemo03.mp4<\/a><\/video><\/div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\">(<a href=\"https:\/\/jausoft.com\/Files\/media\/20230330-UISceneDemo03.mp4\">Direct video URL<\/a>, download and share &#8211; or just view at original resolution)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Graph Type Rendering and UI Saga continues. UISceneDemo03 update using the new GraphUI GlyphShape, handling string processing into a list of GlyphShapes while preserving unscaled target position inclusive kerning. The demo also uses an enhanced smooth target arrival.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7,3,8],"tags":[9,13,22,71,16,44,31,17,68],"class_list":["post-1273","post","type-post","status-publish","format-standard","hentry","category-3d-opengl","category-computer-stuff","category-jogamp","tag-3d","tag-embedded-device","tag-fonts","tag-graph_type_rendering","tag-java","tag-jogamp","tag-mobile","tag-opengl","tag-type-rendering"],"_links":{"self":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/1273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/comments?post=1273"}],"version-history":[{"count":3,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/1273\/revisions"}],"predecessor-version":[{"id":1276,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/1273\/revisions\/1276"}],"wp:attachment":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/media?parent=1273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/categories?post=1273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/tags?post=1273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}