Videos tagged with ShowMeDo
John adds some colour to the mandelbrot fractal, which makes things look much prettier. Rather than gray, now the applet fades from black through to red in the bacground, to yellow on the edges of the fractal and white for the heart of the the fractal.
In this ShowMeDo John builds on the foundation laid previously to generate and display the Mandelbrot fractal in a Java Applet, as a further example of how to perform pixel level rendering. This video shows how to build a gray-scale Mandelbrot (colour comes later). Some of the source code for this tutorial is available in our wiki(JavaMontgomeryAppletSeries).An example of an interactive Mandelb...
The standard Java graphics library does not contain a drawPixel method, but there are plenty of ways to render graphics at the pixel level in Java. In this ShowMeDo John makes use of a BufferedImage so that an array of integers can be used as pixels for rendering on screen. See additional information and source code in the wiki(JavaMontgomeryAppletSeries). Video is here.
Animation is an essential ingredient of a good demo applet. In this ShowMeDo John demonstrates using a thread for animation. See additional information and source code in the wiki(JavaMontgomeryAppletSeries). Video is here.
Double-buffering is a technique used to minimise flicker on the screen, by drawing to an offscreen buffer and copying the buffer to the screen in one operation. John demonstrates this technique to create a double buffered Java Applet. Video is here.
Expanding the on the basic "hello world" applet, John demonstrates how to receive mouse events for basic user input and shows how to use this to alter the position of objects drawn on screen. Video is here.
A demonstration of writing a very simple "hello world" applet in Java. In this ShowMeDo John demonstrates how to create a Java Applet and how to render a string of text within the applet. Video is here.
The PataPata project is an experiment focusing on taking ideas from Squeak and Self and moving them to Python, as well as trying to go beyond the ideas in a Pythonic and educational constructivist way. It also aspires to help people build microworlds and other learning tools for the Python platform, using a prototype-based programming approach.
In this ShowMeDo, André Roberge discusses the concept of recursion, starting from the simplest example and ending with a graphical solution of the Tower of Hanoi puzzle using RUR-PLE. The importance of ensuring a proper termination condition and the pitfalls associated with an overly large number of function calls in generating Fibonacci numbers are also covered, as is the topic of memoization.
RUR-PLE is a programming environment designed to teach Python, somewhat akin to what Karel the Robot did for teaching Pascal in the early '80s. RUR-PLE includes a series of tutorials with various programming exercises. In this ShowMeDo André Roberge gives a brief tour of RUR-PLE, introducing the lesson browser, the editor, the Python interpreter and the robot world. This ShowMeDo concludes with...