Find Jobs
Hire Freelancers

Diffusion C++ or Java

$20-100 USD

Kansellert
Lagt ut nesten 20 år siden

$20-100 USD

Betalt ved levering
Diffusion A simple model of diffusion and pattern formation can be made as follows. Imagine a grid of say, 400 x 400 points upon which are scatters, say 3000 atoms randomly. Now have an atom enter the grid from some random point on the edge, and make a rule that the atom will move around the grid until either it leaves the grid, or else it comes to a point which is immediately next to point containing an atom, in which case it will stick to that point. HAve the motion of the atom "almost" random - if it enters from the left, say, have it preferentially move to the right (say, with probability 40%), but it could also move up or down (say, with probabilities of 25% each) or back to the left (with probability, say 10%). Now have another atom enter the grid, and follow the same rule, and so on. Write a program which will take command-line options indicating the size (in pixels) of the (square) grid to consider, the initial number of atoms to scatter randomly about the grid, and the number of atoms that enter the grid, and which will then produce a png (or jpeg) image of the results, using the gd library. Include in your output 4-6 images representing an interesting range of parameters, This can be done in C++, or java preferably I need this right away, when can it be done?
Prosjekt-ID: 979

Om prosjektet

2 forslag
Eksternt prosjekt
Aktiv 20 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber

Om klienten

CANADAs flagg
Canada
0,0
1
Medlem siden apr. 12, 2004

Klientbekreftelse

Andre jobber fra denne klienten

Simple project in Java
$20-100 USD
Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.