Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
JoC #21: Image manipulation – take two | Programming Education Blog Skip to primary content Programming Education Blog Michael Kölling on BlueJ, Greenfoot, Stride, and other Programming Education Topics Search Main menu Home New Joy of Code Stride Joy of Code Docs I Object Who is Michael? Post navigation ← Previous Next → JoC #21: Image manipulation – take two Posted on March 17, 2012 by Michael Kolling       For every action, there is an equal and opposite criticism.              — Steven Wright We’re getting a bit further into image manipulation. I’ll show you how an actor can change appearance by dynamically changing its image while the program is running. Download video Concepts discussed: image manipulation, random numbers Downloads:  bounce-v1.zip This entry was posted in Greenfoot, Joy Of Code and tagged image manipulation, random number by Michael Kolling. Bookmark the permalink. 8 thoughts on “JoC #21: Image manipulation – take two” Deepraj on March 20, 2012 at 05:32 said: How can we add anti-alias ? the edge of the balls looks distroted. Reply ↓ Mari on February 9, 2018 at 17:14 said: The image itself can be anti-aliased by an image editor with this capability (e.g., Photoshop, GIMP). Reply ↓ DianaL on March 20, 2012 at 07:27 said: Thanks for getting out so many new videos. Our class is just finishing the Piano and our assignment is to create some sort of visual effect when keys are pressed, so these videos will help a lot. The size of the lessons that you are presenting is great because they are self contained, smaller bits that aren’t at all overwhelming in scope. Keep up the good work! Reply ↓ mik on March 26, 2012 at 20:05 said: @Deepraj Anti-aliasing can be switched on/off in general Java options (when the virtual machine is started) on some systems that support it. We cannot easily do that from within our code. Reply ↓ mik on March 26, 2012 at 20:06 said: @DianaL This may now be too late (in case your assignment is over) but Episode 23 and 24 (just published now) should be useful for this too! Reply ↓ Pingback: #JOC21: Image Manipulation Take Two - compu2Learn.co.uk GreenGoo on August 22, 2012 at 17:43 said: Why do the balls teleport when they reach the edge and change colour? On mine, only the large balls are immune, whilst the smaller ones behave bizarrely by disappearing when they get near the wall and then reappearing where they would have bounced too. Can anyone help me? Reply ↓ Wayveyx on November 18, 2020 at 08:24 said: Very, and I mean very, late response, but you can scale the image to the size of the ball and it fixes that bug. Reply ↓ Leave a Reply Cancel reply Your email address will not be published. Required fields are marked * Comment Name * Email * Website one  ×   =  seven Proudly powered by WordPress