During the last three weeks I have been amusing myself learning the java programming language. It hasn't been so easy as at the age of 84 learning and remembering new stuff is harder than it used to be! I have had some help from my son Claude.
To give me inspiration I decided to use my interest in the Mandelbrot set to get to grips with the java language. I created a program which displays the whole set and you can outline any area you think might be interesting to examine it more closely.
There is a limit to the minimum size of area, due to the limitations of computer precision and it's unavoidable. However there is plenty of interesting stuff there.
I believe that to see the Mandelbrot set as anything more than a pretty picture or a boring mathematical formula, you need to be mathematically inclined. The fascination, for me, lies in the mysterious ability of this formula to produce extraordinary patterns from apparently humdrum repetition of a formula. Looking at the patterns, I am struck by the similarity to many natural forms: Could it be that natural forms, such as a leaf or a flower, have as their formal basis a mathematical formula? Is mathematics more pervasive in the universe than we have heretofore imagined?
There is also the weird phenomenon of little pieces of the set cropping up at some distance from the main chunk, similar in shape but facing in different directions and connected to it by untraceably fine filaments (there are no isolated pieces, they say, and I also suspect that every distant piece is connected to the main by only one path.)
In case anyone wants to explore for themselves, this is a link to the file of my program which I have placed online for anyone to download and try. To run it, or any other java-based program, you need "java runtime environment" which you probably already have on your computer, but you can download it at the Oracle website if you don't have it.
Once you have opened my program, use your mouse to draw a rectangle somewhere interesting, then press ENTER. Drawing the rectangle is largely automatic as it has to be horizontal and have certain proportions, so you only need draw the top side of it. A little practice will soon give you the idea. Email me if you need help. Read the info on the left of the screen. "Page Up" increase the precision at high magnifications, but also takes longer to draw the picture - perhaps ten seconds or more depending on your machine's speed..
Possibly you can also open the file in a text editor such as Notepad or Wordpad, if you want to fiddle with it and make alterations.
Comments on and descriptions of everyday family life in a tropical country, plus other interesting stuff that takes my fancy. May contain explicit sexual material so if you are offended by such or under the legal age, please leave now.
Sunday, June 29, 2014
Friday, June 20, 2014
More Mandelbrot
The Mandelbrot set holds endless fascination for me. Who would have thought that repeated iteration of a simple mathematical formula could show such intricate, repeating patterns? For the first picture I used 5,000 iterations as the maximum necessary for determining whether a given point in the complex plane is a member of the set (shown black) or not. This means that every tiny pixel in the black areas is black because the formula has been iterated 5,000 times to make it so. It takes 3 or 4 seconds for my laptop to generate this picture, and roughly, say, a quarter of the picture is black and there are nearly a million pixels in the picture. So that alone necessitates 1,250,000,000 iterations, and each iteration means a lot of work for the computer. What an amazing thing a modern laptop is! Without such devices at our disposal, we never could have guessed at the intricacies depicted here.
The parts which are not black are points which have been rejected before 5,000 iterations have been performed for them, and their colour is dependent on the number of iterations necessary to decide they should be rejected.
By the way, I read somewhere that it has been proved there are no isolated pieces of the set, every little black bit is connected to the main chunk, even though we may not be able to see the connection because screen resolution is not fine enough or perhaps because we have not used enough iterations, resulting in a pixel being shown black when it shouldn't be.
The parts which are not black are points which have been rejected before 5,000 iterations have been performed for them, and their colour is dependent on the number of iterations necessary to decide they should be rejected.
By the way, I read somewhere that it has been proved there are no isolated pieces of the set, every little black bit is connected to the main chunk, even though we may not be able to see the connection because screen resolution is not fine enough or perhaps because we have not used enough iterations, resulting in a pixel being shown black when it shouldn't be.
Tuesday, June 03, 2014
Do I exist?
The question of the near-universal restricting sense of "I" afflicting humans is a highly interesting and puzzling one. I say "near" universal because there are some people - let's call them "No-I"s - who don't have this restricting sense of "I", they have lost it either intentionally or fortuitously; and "afflicting" because it seems to be at the bottom of nearly all the suffering in human society. The No-Is can still say "I" but it doesn't mean the same thing for them as it does for us unregenerates.
Taking myself as an example, how is it that I have this particular sense of "I" and not some other person"s sense of "I"? Of course, if I had some other person's sense of "I" I would not be aware of that, I would believe I was that other person, so it seems like a very silly question. But give it some thought. It can have an effect rather like some of those drawings by M C Escher.
The sense of "I" seems to go with a particular body. As far as I am concerned, this body I am associated with is the centre of my universe. But is this restricted sense of "I" really necessary? Some - those who have lost it - say that it's a handicap, and life is infinitely better without it. Sure, the body-mind organism is still there for use as necessary, but the sense of their personhood has gone. It's an illusion we would be better discarding. Each of us thinks that he/she is a person, with goals, problems, etc. but, say the No-Is, this is simply an illusion which dramatically restricts your life and is the cause of all suffering. It sticks, too. You can't get rid of it easily, because you really do think you are a person - don't you? It would be like committing suicide!
The Buddha, it is said, sat under a bodhi tree and vowed not to get up until that illusion had released its hold on him. It did so release, and he did get up, to teach others. He is famously supposed to have said, "Events happen, deeds are done, but there is no doer thereof."
Many will become very indignant when I suggest that the belief that they are a person may be mistaken. It's just a suggestion, but it deserves some thought.
Taking myself as an example, how is it that I have this particular sense of "I" and not some other person"s sense of "I"? Of course, if I had some other person's sense of "I" I would not be aware of that, I would believe I was that other person, so it seems like a very silly question. But give it some thought. It can have an effect rather like some of those drawings by M C Escher.
The sense of "I" seems to go with a particular body. As far as I am concerned, this body I am associated with is the centre of my universe. But is this restricted sense of "I" really necessary? Some - those who have lost it - say that it's a handicap, and life is infinitely better without it. Sure, the body-mind organism is still there for use as necessary, but the sense of their personhood has gone. It's an illusion we would be better discarding. Each of us thinks that he/she is a person, with goals, problems, etc. but, say the No-Is, this is simply an illusion which dramatically restricts your life and is the cause of all suffering. It sticks, too. You can't get rid of it easily, because you really do think you are a person - don't you? It would be like committing suicide!
The Buddha, it is said, sat under a bodhi tree and vowed not to get up until that illusion had released its hold on him. It did so release, and he did get up, to teach others. He is famously supposed to have said, "Events happen, deeds are done, but there is no doer thereof."
Many will become very indignant when I suggest that the belief that they are a person may be mistaken. It's just a suggestion, but it deserves some thought.
Sunday, June 01, 2014
Mandelbrot
This picture is a very tiny detail from an image of the Mandelbrot set, a set of complex numbers defined by a simple recursive formula. I made it in the course of modifying Daniel Schiffman's program written in the "Processing" programming language ( I love playing around with programming, especially graphics.)
The Mandelbrot set has fascinated mathematicians and scientists - and other kinds of people, too - for some decades now, especially since the advent of powerful computers made producing its image very simple. Magnifying any interesting-looking area will simply produce more fascinating detail, and there's no end to it - in theory. In practice, it's limited by the ability of the computer to deal with many decimal places. The image above is a portion of the image below, much magnified (and colour added.)
When I first tried to make the Mandelbrot set image, 23 years ago, my PC had to be left on all night in order to give it time to draw it. I programmed it in the language called "C." Now, my very ordinary laptop takes just a few seconds to produce a colour image. Here is an image of the complete set: Those filaments wandering out from the main mass can be magnified to show the kind of detail in the first picture.
The Mandelbrot set has fascinated mathematicians and scientists - and other kinds of people, too - for some decades now, especially since the advent of powerful computers made producing its image very simple. Magnifying any interesting-looking area will simply produce more fascinating detail, and there's no end to it - in theory. In practice, it's limited by the ability of the computer to deal with many decimal places. The image above is a portion of the image below, much magnified (and colour added.)
When I first tried to make the Mandelbrot set image, 23 years ago, my PC had to be left on all night in order to give it time to draw it. I programmed it in the language called "C." Now, my very ordinary laptop takes just a few seconds to produce a colour image. Here is an image of the complete set: Those filaments wandering out from the main mass can be magnified to show the kind of detail in the first picture.
Subscribe to:
Posts (Atom)
Labels
free will
(4)
Advaita
(3)
cooking
(3)
love
(3)
non-duality
(3)
person
(3)
suffering
(3)
I
(2)
Sam Harris
(2)
awakening
(2)
blogging
(2)
childhood
(2)
death
(2)
fear
(2)
individuality
(2)
music
(2)
oneness
(2)
passion
(2)
religion
(2)
rules
(2)
seeing
(2)
spanking
(2)
submission
(2)
submissive
(2)
;;;;;;;;;;;;;;
(1)
Allah
(1)
Assad
(1)
Backster
(1)
Brigham Young
(1)
Buddhim
(1)
Christianity
(1)
Course in Miracles
(1)
DD
(1)
Dancing
(1)
Descartes
(1)
Doctor Zhivago
(1)
Great Expectations
(1)
Islam
(1)
Jane Eyre
(1)
Joseph Smith
(1)
Kim
(1)
Koran
(1)
London
(1)
Madame Bovary
(1)
Mandelbrot
(1)
Mormons
(1)
Munteanu
(1)
Osama
(1)
Oxford
(1)
Philosophy
(1)
Putin
(1)
Rellstab
(1)
Roman Catholicism
(1)
Russia
(1)
Schubert
(1)
Sense and Sensibility
(1)
Silas Marner
(1)
Snowden
(1)
Swingles
(1)
Tao
(1)
The Alchemist
(1)
The Secret Garden
(1)
Tony Parsons
(1)
Vipassana
(1)
ads
(1)
agreement
(1)
alcohol
(1)
alcoholism
(1)
amateur porn
(1)
apology
(1)
arguing
(1)
asperger's
(1)
assault weapons
(1)
attraction
(1)
aura
(1)
autism
(1)
automatic
(1)
aware
(1)
awareness
(1)
baking
(1)
bats
(1)
bedtime
(1)
behaviour
(1)
belief
(1)
beliefs
(1)
blow job
(1)
break-up
(1)
bright spark
(1)
cancer
(1)
caning
(1)
celebrate
(1)
chemical weapons
(1)
choice
(1)
choices
(1)
coco
(1)
computer
(1)
conservatism
(1)
control
(1)
cookies
(1)
corporal punishment
(1)
delicious
(1)
desire
(1)
desires
(1)
diffidence
(1)
dom
(1)
emails
(1)
enlightenment
(1)
existence
(1)
expect
(1)
exposure
(1)
facebook
(1)
faith
(1)
father
(1)
females
(1)
fools
(1)
forgiveness
(1)
frequency
(1)
getting a man
(1)
gif
(1)
girl friend
(1)
graphics
(1)
gratitude
(1)
guns
(1)
hairbrush
(1)
hand guns
(1)
happy
(1)
healing
(1)
hiding
(1)
hot sauce
(1)
housework
(1)
illusion
(1)
importance
(1)
incentive
(1)
individual
(1)
instructions
(1)
intuitive
(1)
justice
(1)
kiss
(1)
kissing
(1)
knowledge
(1)
lateness
(1)
laughter
(1)
lieder
(1)
limitation
(1)
madrigals
(1)
mangoes
(1)
me
(1)
meditation
(1)
mobile phone
(1)
mosquitoes
(1)
mystery
(1)
need
(1)
non-existence
(1)
obsession
(1)
old age
(1)
older women
(1)
openness
(1)
paranoia
(1)
past
(1)
past lives
(1)
personal
(1)
personhood
(1)
phone
(1)
pipes
(1)
poetry
(1)
polygraph
(1)
pond
(1)
pope
(1)
porn
(1)
pr-marital sex
(1)
precocious
(1)
previous lives
(1)
programming
(1)
raising kids
(1)
reality
(1)
religious
(1)
responsive
(1)
rich
(1)
sandy hook
(1)
school children
(1)
secrecy
(1)
secrets
(1)
self defence
(1)
self-defence
(1)
separateness
(1)
separation
(1)
septic tank
(1)
sex
(1)
sex videos
(1)
shit
(1)
shortbread
(1)
significance
(1)
silence
(1)
skandhas
(1)
smack
(1)
songs
(1)
sore butt
(1)
stalking
(1)
story
(1)
sub
(1)
suicide
(1)
swan
(1)
synchronicity
(1)
tabasco
(1)
teenage
(1)
teenager
(1)
telepathy
(1)
the open secret
(1)
thought
(1)
thoughts
(1)
three year old
(1)
throwing out stuff
(1)
time
(1)
tiredness
(1)
togetherness
(1)
toilet
(1)
trash
(1)
tremor
(1)
victim
(1)
visual delights
(1)
want
(1)
washing dishes
(1)
water
(1)
wife
(1)
wine
(1)
wrong
(1)