Wednesday, June 2, 2010

Chaotic Maps!

This is the first release of "fastmapmap", a program I wrote that plots 2D chaotic maps. A discrete chaotic map will take the point (x,y) to a new (x_, y_) based on a function. For example, the Henon map takes the point (x,y) to (y+1-a*x*x, b*x), where a and b are constants. One can draw a "portrait" of a map by choosing an (x0, y0) and repeatedly evaluating the function, shading in each point that is landed on. Depending on the values of a and b, sometimes the point moves off to become very large, or sometimes the point alternates jumping between two or more values. Other times, the points shade in a region in a complicated way, never repeating, which is a chaotic orbit.

The program fastmapmap can draw these portraits in real time. (I put some effort into optimization). The parameters a and b can be quickly changed with the arrow keys. The plot can be easily navigated; hold alt and drag the mouse to zoom in on a region.

The program is called fastmapmap because an additional plot can be drawn that is a "map" of the behavior of the map. The x axis represents the constant a and the y axis is b. In this plot, black areas are periodic, red areas escape to infinity, and colored areas are chaotic. So, the plot can depict which parameter values may be interesting to observe.
It's cross-platform, tested in Windows and Ubuntu. Try it! Download Windows | Source (GPL)

A short tutorial:
  • Open fastmap.exe
  • Tap the right arrow a bit to change the value of a.
  • Press Ctrl-s, type 'test', and press Enter to save as test.cfg
  • Ctrl-click on the shape to zoom in, Shift-click to zoom out
  • Press Ctrl-o, type 'test' and press Enter to open our test.cfg
  • Press Alt-b and watch the shapes move
  • Press Alt-b again to stop movement
  • Click the cross-hairs icon to show the diagram. Click in the diagram.
  • Click the "..." icon to read what else can be done.
The program can easily create animations. Hit Alt-B and watch the shapes start to move. Use Ctrl-F1 through Ctrl-F9 to set a keyframe. Refer to readme.txt for all of the other features.

 

 

 

I came up with other drawing modes. In the following, x and y represent x0 and y0, and the color is chosen according to the value after 20 iterations.




Assigning colors based on quadrant:





I invented this drawing method originally as way of depicting the action of the Henon map.

 


 

Remember to download: Windows | Source

6 comments:

韋于倫成 said...

每個人生命中都可能遇到貴人,這些貴人不一定真的尊貴,他可能是陌生人,也可能是你的敵人。 ..................................................

Burma家銘ege said...

A liar is not believed when he speaks the truth...................................................

saa said...

影音視訊聊天 台灣情色論壇 go2av免費影片卡通 666vl net 0951成人頻道下載 qq美美色網 ut13077視訊聊天 台灣kiss911 18成人免費a片 男人幫 成人網站-天天看美女 日本a卡漫 聊天室ut 5278免費影片 aa 片俱樂部 失敗論壇 影音交友mmshow tw av女優影片,aa片免費看影片 卡通aa片avdvd 美女交友thcmt vsbox色美媚入口 洪爺自拍走光貼圖 一對多視訊,美女短片免費試看 0204成人 視訊交友fireup 台灣kiss情色貼圖區 彩虹AV影音視訊聊天室 性愛日記 ez sex貼片區 aaa片免費看影片 aio小魔女自拍qk 免費試看成人片 g8mm視訊網 色妹妹a漫18 禁 免費視訊聊天 173 線上 aa 片試看嘟嘟 火辣視訊情人 av080下載 aa免費看影片 網愛 正妹百人斬飯島愛 情色sex520 ss369成人色網 免費a片線上看,卡通aa片免費看 aa的滿18歲影片 視訊-愛情館 八國聯軍成人 高雄視訊sexy girl34c 成人自拍色情avdvd 線上aa片試看嘟嘟

RoseH_Huls21365 said...

思想與理論,貴呼先於行動,但行動較思想或理論更高貴......................................................................

GlenS_Mielke12嘉偉17 said...

死亡是悲哀的,但活得不快樂更悲哀。......................................................................

瑞尹 said...

幸福不是一切,人還有責任。....................................................................