Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
21 May, 2013, 15:49:57 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2   Go Down
  Print  
Author Topic: The Beauty of Mathematics -  (Read 1724 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: 18 May, 2013, 00:41:29
Date Registered: 15 August, 2010, 09:18:54
Posts: 3187


Topic starter
Total Post Ratings: +218

View Profile
« on: 21 July, 2011, 20:11:49 »
+4

As most of us are know, mathematics can be very brutal and ugly, especially when dealing with algebraic equations. Here are a few of its prettier sides.

Warning: the images in spoilers are large.

This image was generated during a search for a more efficient way to compute A Mod B. It's a plot of the error between the true answer and my approximation over all possible 16 bit operands. I'm not sure why the resulting graph is so complex given the simplicity of the underlying function, but the remarkable self-similarities and other fractal qualities make it interesting.

Spoiler for Hidden:

Spoiler for Atrocious Mathematica code to generate the image:
Quote
t=2^8;
TestMod[k_,b_,y_,x_]:=Mod[k,b]-Mod[k-y,b-x];
Array1=Array[0&,t^2];
Array2=Array[0&,t^2];
Array3=Array[0&,t^2];
Array4=Array[0&,t^2];
j=0;
For[b = 1, b < t, b++,

For[k = 1, k < t, k++,
y=k;
x=b;
x=BitOr[x,BitShiftRight[x,1]];
x=BitOr[x,BitShiftRight[x,2]];
x=BitOr[x,BitShiftRight[x,4]];
x=BitOr[x,BitShiftRight[x,8]];
x=BitOr[x,BitShiftRight[x,16]];
x=x-BitShiftRight[x,1];

y=BitOr[y,BitShiftRight[y,1]];
y=BitOr[y,BitShiftRight[y,2]];
y=BitOr[y,BitShiftRight[y,4]];
y=BitOr[y,BitShiftRight[y,8]];
y=BitOr[y,BitShiftRight[y,16]];
y=y-BitShiftRight[y,1];

Array1[[t*(b-1)+k]]=Mod[k,b];
Array2[[t*(b-1)+k]]=Mod[k-y,b-x];
Array3[[t*(b-1)+k]]=TestMod[k,b,y,x];
If[TestMod[k,b,y,x]==0,j=j+1]
]
]

ListPlot[Array3]
External link: http://img.removedfromgame.com/imgs/graph.png


The next picture is a strange attractor that belongs to a family of functions known as Lorenz equations. This particular family is characterized by their extreme sensitivity to initial conditions. A change of one in a hundred parts can result in a completely different system.
Spoiler for Lorenz attractor:
External link: http://img.removedfromgame.com/imgs/Lorenz_fractal.bmp


Here is an example of such a change. A single constant in the equations was changed to produce this graph from the previous one.

Spoiler for Hidden:
External link: http://img.removedfromgame.com/imgs/Lorenz_lines.bmp


Another group of functions with interesting graphs are the one dimensional elementary cellular automata. In addition to their interesting computational properties (several of them are Turing-equivalent), some of them are chaotic to the point that they can safely be used for cryptographic grade random number generators. One particularly well known automaton is Rule 110 (following Wolfram's notation). The picture, which started from random initial conditions, clearly shows the propagating structures that form the basis of this rule's universal computation.

Spoiler for Hidden:
External link: http://img.removedfromgame.com/imgs/Rule_110.png

Cellular automata can occupy more than one dimension, though. Here's a model of a two dimensional cellular automaton known as Conway's life rendered over time.
Spoiler for Hidden:
External link: http://www.frank-buss.de/automaton/symmetric_rabbits.gif

If anyone has anything else, feel free to link it below.
« Last Edit: 22 July, 2011, 19:22:48 by Qwerty.55 » Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
p2
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 15 April, 2013, 20:40:16
Date Registered: 11 June, 2011, 15:55:36
Location: Germany
Posts: 810


Total Post Ratings: +39

View Profile
« Reply #1 on: 21 July, 2011, 20:36:58 »
0

The last pic shows a ship of the "Replicatoren" (german) of Stargate SG1!
Logged


FREEDOM
OF THE INTERNET
Spoiler for spoilers:
Spoiler for PICTURE:
Spoiler for userbars:



Spoiler for me:
Spoiler for Pic of me:
Spoiler for what I like:
MUSIC:
Dragonforce - Fury of the storm
Dragonforce - Through fire and flames
Skillet - Awake and alive
Skillet - Monster
Nelly - Just a dream
Linkin Park - No more Sorrow
Silbermond - An alle Krieger des Lichts
Wise Guys - Das bedeutet Krieg!
Wise Guys - Das war's wert!

GAMES:
Fancy Pants adventures - World 1
                                 - World 2
                                 - Sneak Peak
                                 - World 3 demo
Droid Assault
Age of Empires
Empire Earth

VIDEOS/FILMS:
StarGate SG1
StarTrek
TheAnnoyingOrange
V for Vendetta
War Games (1 + 2)

BOOKS:
Anthony Horowitz - Alex Rider 1: Stormbreaker
                        - Alex Rider 2: Skelleton Key
                        - Alex Rider 3: Point Blanc
                        - Alex Rider 4: Eagle Strike
                        - Alex Rider 5: Ark Angle
                        - Alex Rider 6: Scorpia
                        - Alex Rider 7: Crocodile tears
                        - Alex Rider 8: Scorpia Rising
Chris Archer - Alpha Kids 1
                 - Alpha Kids 2
                 - Alpha Kids 3
                 - Alpha Kids 4
                 - Alpha Kids 5
                 - Alpha Kids 6
                 - Alpha Kids 7
                 - Still don't have #8 Sad
                 - Alpha Kids 9
                 - Alpha Kids 10
Andreas Schlüter - Level 10 (every book)
Spoiler for Holy Necropost Batman:
Heiligen post-mortem Post, Schlägermann!
This is an example of how wonderful Google Translator works!
Spoiler for wise thing I stole from calc85maniac's profile:
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
ZippyDee
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 12 May, 2013, 10:03:36
Date Registered: 21 March, 2011, 03:15:07
Location: Yes.
Posts: 704


Total Post Ratings: +73

View Profile
« Reply #2 on: 21 July, 2011, 21:09:14 »
0

Wow! These are awesome! Thanks, Qwerty!
Logged

There's something about Tuesday...


Pushpins 'n' stuff...

Anima
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 21 October, 2012, 16:12:05
Date Registered: 14 May, 2011, 11:18:43
Posts: 129


Total Post Ratings: +4

View Profile
« Reply #3 on: 21 July, 2011, 23:51:57 »
0

The second pic is pretty awesome.
Logged



Sorry for my bad English. I'm German.
Darl181
Vy'o'us pleorsdtu tlh'e gjaemue.
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 09:48:43
Date Registered: 10 June, 2010, 00:32:08
Location: {I*9+L₁+1},{I*9+L₁+3}
Posts: 3272


Total Post Ratings: +267

View Profile WWW
« Reply #4 on: 22 July, 2011, 01:15:55 »
0

How do you make pics of the fractals like that--is there a generator somewhere or something?
Logged




 
Spoiler for Stuff:



OS 2.43  Boot 1.02  Hardware Rev. B

OS 1.04.32

OS 3.1.0.392  Boot1 3.0.99  Boot2 3.10.16
Spoiler for Misc:
Quote
You'll understand / It's not a shame / To be always / Losing the game / Burma-Shave
"Dynamic userbars!"
Omnimaga radio
Interactive Omnimaga radio
Our World of Text
Draw on websites
Then blow them up
In-browser flight simulator
Haxball: MMO soccer/air hockey game
  Draw with sand.  Yay?
The Game
You just lost the game
Zombo.com
light post color is #dfefff
dark post color is #cae4ff
quote box color is #6699ff
transparent color is...transparent 0.o
Spoiler for Forum search alternative (bookmarklet):
https://www.squarefree.com/bookmarklets/search.html
javascript:q=""+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt("No%20selected%20text;%20enter%20search%20term.").replace(/\s\+/g,"%252B");if(q!=null)location="http://www.google.com/search?q="+q.replace(/\s+/g,"+")+"+site:"+location.hostname;void(0);
Scipi
Omni Kitten Meow~ =^ω^=
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 15:33:59
Date Registered: 12 September, 2010, 08:35:24
Location: Lost Town
Posts: 1380


Total Post Ratings: +145

View Profile WWW
« Reply #5 on: 22 July, 2011, 01:22:07 »
0

I want a 3D Game of Life Generator now! Tongue
Logged



Spoiler for Things I find interesting:
Spoiler for AI Programming:
Spoiler for Historical warfare/Formations(Warning: Large images):
Phalanx

Testudo

Schiltron

Better version
Terico

Line

Square

Spoiler for Shameless advertising:

Spoiler for OldSig:
Imma Cat! =^_^= (Make this an emoticon!)





Spoiler for IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Spoiler for Misc:


Spoiler for Goosed stuff:
FUSION-TIME GO!
DrDnar
LV6 Super Member (Next: 500)
******
Offline Offline

Last Login: Today at 04:44:26
Date Registered: 29 October, 2010, 00:08:46
Posts: 460

Total Post Ratings: +76

View Profile
« Reply #6 on: 22 July, 2011, 01:23:21 »
+1

Make a plot of the length of all Roman numerals less than some value and you get a bell curve.

EDIT: Code for the lazy:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FUNCTION decToRom$ (num AS INTEGER)
DIM rom AS STRING
DIM dec AS INTEGER
DIM i AS INTEGER
DIM j AS INTEGER
DIM x AS INTEGER

dec = num + 1 - 1 ' Bonus points if you can explain why this is here.


IF dec < 1 OR dec > 3999 THEN ERROR 5

i = 1
DO WHILE dec / 10 > 0
    x = dec - INT(dec / 10) * 10 ' Mod is for losers.
    dec = INT(dec / 10)
    IF x >= 1 AND x <= 3 THEN
        FOR j = 1 TO x
            rom = romchar(i) + rom
        NEXT j
    END IF
    IF x = 4 THEN rom = romchar(i) + romchar(i + 1) + rom
    IF x = 5 THEN rom = romchar(i + 1) + rom
    IF x >= 6 AND x <= 8 THEN
        FOR j = 1 TO x - 5
            rom = romchar(i) + rom
        NEXT j
        rom = romchar(i + 1) + rom
    END IF
    IF x = 9 THEN rom = romchar(i) + romchar(i + 2) + rom
    i = i + 2
LOOP
decToRom$ = rom
END FUNCTION

FUNCTION romchar$ (quark AS INTEGER)
romchar$ = MID$("IVXLCDM", quark, 1)
END FUNCTION
« Last Edit: 22 July, 2011, 01:28:28 by DrDnar » Logged

"The tools which would teach men their own use would be beyond price."—The Republic
apcalc
The Game
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: 19 May, 2013, 16:59:33
Date Registered: 20 March, 2010, 16:31:47
Location: 2003 UB313
Posts: 1393


Total Post Ratings: +118

View Profile
« Reply #7 on: 22 July, 2011, 01:30:08 »
0

Wow!  Math can be amazing at many, many times.  Those images are truly beautiful! Cheesy
Logged


AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: 18 May, 2013, 00:41:29
Date Registered: 15 August, 2010, 09:18:54
Posts: 3187


Topic starter
Total Post Ratings: +218

View Profile
« Reply #8 on: 22 July, 2011, 03:03:13 »
0

@Darl: I used Chaosope to generate the second and third pictures. There are a lot of other attractor/fractal generating packages, but I find that one produces nice images without too much fuss. The first and fourth pictures were generated using Mathematica, which I don't recommend purchasing unless you have some means of obtaining it for free/small cost (generally schools or piracy).

I want a 3D Game of Life Generator now! Tongue

Here you go. Requires Golly, Blender, and Python.

@DrDnar: I presume that the Dec+1-1 somehow detects/fixes integer overflow? Anyway, while the mathematics behind Gaussians are very elegant and pretty, I made a conscious choice not to include them because they don't generally look terribly impressive.
« Last Edit: 22 July, 2011, 03:04:32 by Qwerty.55 » Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
DrDnar
LV6 Super Member (Next: 500)
******
Offline Offline

Last Login: Today at 04:44:26
Date Registered: 29 October, 2010, 00:08:46
Posts: 460

Total Post Ratings: +76

View Profile
« Reply #9 on: 22 July, 2011, 04:03:26 »
0

Nope. I put it there because QuickBASIC uses pass-by-reference by default.
Logged

"The tools which would teach men their own use would be beyond price."—The Republic
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: 19 May, 2013, 19:18:47
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« Reply #10 on: 22 July, 2011, 06:50:28 »
0

That's (part of) why I love math Smiley

And there's another beauty outside the graphs. Aren't equations like eπi+1=0 just amazing to think about? Even with all those proofs, many of which aren't even that advanced, I still can't wrap my head around the idea.

The last pic shows a ship of the "Replicatoren" (german) of Stargate SG1!

lol Tongue

I want a 3D Game of Life Generator now! Tongue

Plot three dimensions against time shocked
« Last Edit: 22 July, 2011, 06:51:48 by Deep Thought » Logged




p2
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 15 April, 2013, 20:40:16
Date Registered: 11 June, 2011, 15:55:36
Location: Germany
Posts: 810


Total Post Ratings: +39

View Profile
« Reply #11 on: 22 July, 2011, 19:17:29 »
0

This is a Replikator:

















I only know these three types of Replikatoren-ships, but it looks like a ship of them, too!
Logged


FREEDOM
OF THE INTERNET
Spoiler for spoilers:
Spoiler for PICTURE:
Spoiler for userbars:



Spoiler for me:
Spoiler for Pic of me:
Spoiler for what I like:
MUSIC:
Dragonforce - Fury of the storm
Dragonforce - Through fire and flames
Skillet - Awake and alive
Skillet - Monster
Nelly - Just a dream
Linkin Park - No more Sorrow
Silbermond - An alle Krieger des Lichts
Wise Guys - Das bedeutet Krieg!
Wise Guys - Das war's wert!

GAMES:
Fancy Pants adventures - World 1
                                 - World 2
                                 - Sneak Peak
                                 - World 3 demo
Droid Assault
Age of Empires
Empire Earth

VIDEOS/FILMS:
StarGate SG1
StarTrek
TheAnnoyingOrange
V for Vendetta
War Games (1 + 2)

BOOKS:
Anthony Horowitz - Alex Rider 1: Stormbreaker
                        - Alex Rider 2: Skelleton Key
                        - Alex Rider 3: Point Blanc
                        - Alex Rider 4: Eagle Strike
                        - Alex Rider 5: Ark Angle
                        - Alex Rider 6: Scorpia
                        - Alex Rider 7: Crocodile tears
                        - Alex Rider 8: Scorpia Rising
Chris Archer - Alpha Kids 1
                 - Alpha Kids 2
                 - Alpha Kids 3
                 - Alpha Kids 4
                 - Alpha Kids 5
                 - Alpha Kids 6
                 - Alpha Kids 7
                 - Still don't have #8 Sad
                 - Alpha Kids 9
                 - Alpha Kids 10
Andreas Schlüter - Level 10 (every book)
Spoiler for Holy Necropost Batman:
Heiligen post-mortem Post, Schlägermann!
This is an example of how wonderful Google Translator works!
Spoiler for wise thing I stole from calc85maniac's profile:
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Scipi
Omni Kitten Meow~ =^ω^=
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 15:33:59
Date Registered: 12 September, 2010, 08:35:24
Location: Lost Town
Posts: 1380


Total Post Ratings: +145

View Profile WWW
« Reply #12 on: 22 July, 2011, 22:23:12 »
0

Replicators were the awesomest enemies in the series. Tongue Even the Ori would have trouble with them.

Here's something else the Game of Life can do:

Spoiler for Hidden:


It can make you lose Tongue
« Last Edit: 22 July, 2011, 23:08:25 by HOMER-16 » Logged



Spoiler for Things I find interesting:
Spoiler for AI Programming:
Spoiler for Historical warfare/Formations(Warning: Large images):
Phalanx

Testudo

Schiltron

Better version
Terico

Line

Square

Spoiler for Shameless advertising:

Spoiler for OldSig:
Imma Cat! =^_^= (Make this an emoticon!)





Spoiler for IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Spoiler for Misc:


Spoiler for Goosed stuff:
FUSION-TIME GO!
calcdude84se
Needs Motivation
Members
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 16:12:14
Date Registered: 21 April, 2010, 04:20:59
Posts: 2207


Total Post Ratings: +62

View Profile
« Reply #13 on: 22 July, 2011, 23:18:04 »
0

Aw, that's cheating. You actually have to make a pattern that displays that, like the Golly ticker pattern. Grin
« Last Edit: 22 July, 2011, 23:18:16 by calcdude84se » Logged

"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Bug me about PartesOS. I might just need reminding.
Scipi
Omni Kitten Meow~ =^ω^=
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 15:33:59
Date Registered: 12 September, 2010, 08:35:24
Location: Lost Town
Posts: 1380


Total Post Ratings: +145

View Profile WWW
« Reply #14 on: 22 July, 2011, 23:19:48 »
0

I don't have to, I have a program that does it for me Tongue

http://tlrobinson.net/blog/2009/02/07/game-of-life-generator/
Logged



Spoiler for Things I find interesting:
Spoiler for AI Programming:
Spoiler for Historical warfare/Formations(Warning: Large images):
Phalanx

Testudo

Schiltron

Better version
Terico

Line

Square

Spoiler for Shameless advertising:

Spoiler for OldSig:
Imma Cat! =^_^= (Make this an emoticon!)





Spoiler for IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Spoiler for Misc:


Spoiler for Goosed stuff:
FUSION-TIME GO!
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.358 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.