Results 1 to 2 of 2

Thread: Pragramming Language to Draw Image

  1. #1
    Apr 2006

    Pragramming Language to Draw Image

    Hey all, and thanks for any help and feedback,

    I will be doing a presentation soon in which I wanted to show the audience some maths they are unlikely to have come across at school. I thought that showing them the creation of a fractal would be good, as the idea behind making it can be simple and the end product be a very complex and pretty picture.

    As they will not know about complex numbers, I don't want to do a Julia set or the Mandelbrot one. I thought that it'd be better to do a fractal based on a chaotic system. I have decided on the following:

    A swinging pendulum suspended above three magnets, starting at various points and swinging as according to the forces from the three magnets, gravity, and a damping force proportional to the angular speed. The magnet which the pendulum ends up suspended above would define the colour of the starting position either red, green or blue (perhaps), maybe also the time taken to come to rest could help define the colour, to make the fractal more pretty.

    I have arrived at a set of formula to describe the acceleration of the pendulum according to angular position, so all that would remain would be to create a computer program to do the calculations and create the picture.

    So I write asking for advice as to whether there exists a program which I could use to do this. It would be good if it could allow me to write a program to process each pixel, then colour the pixel, producing an image in the end. I would prefer if it could do this while showing the picture on screen, as it is being created.

    Also it would be good if I could use the program to display an animation of a point tracing out the curve of the pendulum, to show the audience what kind of motion the equations are modelling.

    I am used to creating programs like this on my TI-82 (to draw the Mandelbrot set etc.), however this obviously cannot output in colour, it is pretty slow, and it is inconvenient to show to a large audience.

    So any suggestions and pointers would be very much appreciated,

    Follow Math Help Forum on Facebook and Google+

  2. #2
    Junior Member
    Sep 2007
    This may not be of much help to you since as you said you are looking for a program to do this in, but if you are familiar with programming at all, Visual Python is a very good tool for quickly creating demonstrations of physics problems such as a swinging pendulum or orbiting bodies.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Pre-Image / Image proof
    Posted in the Differential Geometry Forum
    Replies: 1
    Last Post: Mar 9th 2012, 02:30 AM
  2. language of mathematics
    Posted in the Math Forum
    Replies: 1
    Last Post: Nov 10th 2011, 12:09 AM
  3. Language and proofs
    Posted in the Discrete Math Forum
    Replies: 4
    Last Post: Jul 8th 2009, 12:05 PM
  4. Language C ---matrix----
    Posted in the Math Software Forum
    Replies: 1
    Last Post: Jul 2nd 2008, 01:07 PM

Search Tags

/mathhelpforum @mathhelpforum