'. '

First Amoeba Video

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Current revision (06:12, 20 October 2018) (edit) (undo)
 
Line 1: Line 1:
For a while I am publishing [[API Design Tips]] on this website, but today I felt a bit sorry about having just the audio, no appropriate video. I know there are sound visualizers like ''goom'', but still I wanted to do something related to [[TheAPIBook]]. What is that? Well, one of the suitable visualizations could be based on the [[Amoeba Model]]. Nervous, shaking [[Amoeba Model|amoeba]] could be good visualization for a sound.
For a while I am publishing [[API Design Tips]] on this website, but today I felt a bit sorry about having just the audio, no appropriate video. I know there are sound visualizers like ''goom'', but still I wanted to do something related to [[TheAPIBook]]. What is that? Well, one of the suitable visualizations could be based on the [[Amoeba Model]]. Nervous, shaking [[Amoeba Model|amoeba]] could be good visualization for a sound.
-
Thus I created a life [[Java]] component that can shakes like amoeba (as drawn by [[HPAPIFest09|HP guys]]). It took a while, but [[wikipedia::Java2D|Java2D]] is powerful and as soon as one learns to provide proper coordinates to [[wikipedia::Bézier_curve|Bézier curves]], one can get really nice, rounded shape. Enjoy the [[Media:Apitip06-year-of-annotations.mp3]] with video:
+
Thus I created a life [[Java]] component that can shakes like amoeba (as drawn by [[HPAPIFest09|HP guys]]). It took a while, but [[wikipedia::Java2D|Java2D]] is powerful and as soon as one learns to provide proper coordinates to [[wikipedia::Bézier_curve|Bézier curves]], one can get really nice, rounded shape. Enjoy the [[Media:Apitip06-year-of-annotations.mp3]] with [[First_Amoeba_Video|video]]:
{{#ev:youtube|QAJKBnKhmkU}}
{{#ev:youtube|QAJKBnKhmkU}}
Then it is just a matter of converting such shape from [[Java]]'s {{JDK|java/awt/image|Graphics2D}} into a movie. For a while I was struggling to find the simplest way to do it, but at the end I found nice [[Java]] application/library that knows how to store sequences of {{JDK|java/awt|BufferedImage}}s into ''.avi'' movie. This clearly shows how important [[Good Technology|good libraries]] are. I am completely [[cluelessness|clueless]] about the ''.avi'' format, yet it was just a matter of few lines of code to produce it.
Then it is just a matter of converting such shape from [[Java]]'s {{JDK|java/awt/image|Graphics2D}} into a movie. For a while I was struggling to find the simplest way to do it, but at the end I found nice [[Java]] application/library that knows how to store sequences of {{JDK|java/awt|BufferedImage}}s into ''.avi'' movie. This clearly shows how important [[Good Technology|good libraries]] are. I am completely [[cluelessness|clueless]] about the ''.avi'' format, yet it was just a matter of few lines of code to produce it.

Current revision

For a while I am publishing API Design Tips on this website, but today I felt a bit sorry about having just the audio, no appropriate video. I know there are sound visualizers like goom, but still I wanted to do something related to TheAPIBook. What is that? Well, one of the suitable visualizations could be based on the Amoeba Model. Nervous, shaking amoeba could be good visualization for a sound.

Thus I created a life Java component that can shakes like amoeba (as drawn by HP guys). It took a while, but Java2D is powerful and as soon as one learns to provide proper coordinates to Bézier curves, one can get really nice, rounded shape. Enjoy the Media:Apitip06-year-of-annotations.mp3 with video:

Then it is just a matter of converting such shape from Java's Graphics2D into a movie. For a while I was struggling to find the simplest way to do it, but at the end I found nice Java application/library that knows how to store sequences of BufferedImages into .avi movie. This clearly shows how important good libraries are. I am completely clueless about the .avi format, yet it was just a matter of few lines of code to produce it.

Personal tools
buy