{"url":"https://blog.akiym.com/entry/2012/08/23/072220","author_url":"https://blog.hatena.ne.jp/akiym/","categories":["Perl"],"version":"1.0","image_url":null,"author_name":"akiym","provider_url":"https://hatena.blog","blog_title":"\u30a2\u30ea","title":"Cocoa::GuiTest\u3068\u3044\u3046\u3082\u306e\u3092\u5c11\u3057\u3060\u3051\u66f8\u3044\u305f","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.akiym.com%2Fentry%2F2012%2F08%2F23%2F072220\" title=\"Cocoa::GuiTest\u3068\u3044\u3046\u3082\u306e\u3092\u5c11\u3057\u3060\u3051\u66f8\u3044\u305f - \u30a2\u30ea\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"akiym/Cocoa-GuiTest \u00b7 GitHub use 5.016; use warnings FATAL => 'all'; use utf8; use Cocoa::GuiTest; use Time::HiRes qw/sleep/; my ($width, $height) = Cocoa::GuiTest::GetScreenRes(); my $hz = 10; my $omega = 2.0 * 3.14 * $hz; for my $x (0 .. $width) { my $y = 141 * sin($omega * $x); $y += $height / 2;\u2026","blog_url":"https://blog.akiym.com/","type":"rich","height":"190","published":"2012-08-23 07:22:20","provider_name":"Hatena Blog","width":"100%"}