Sierpinski Carpet |
|
zaguan
一般會員 發表:11 回覆:18 積分:10 註冊:2002-03-31 發送簡訊給我 |
用OpenGL繪製碎形幾何「Sierpinski Carpet」圖形
如果需要Compile程式,請先安裝OpenGL Panel元件和Glut Lib
(OpenGL Panel:http://www.ap.dyndns.dk/opengl.htm)
繪製「Sierpinski Carpet」圖形,方法不少
一般來說都是用遞迴的方法,這個程式是用隨機出現於某點的機率的方法
Ps.第一次發表,請多多包涵!
< src="http://delphi.ktop.com.tw/loadfile.php?TOPICID=9184685&CC=205415"> 正面思考
正面思考~~ XD 發表人 - zaguan 於 2003/04/24 15:26:20
|
dllee
站務副站長 發表:321 回覆:2519 積分:1711 註冊:2002-04-15 發送簡訊給我 |
Glut Lib
http://www.xmission.com/~nate/glut.html 感謝 zaguan 的分享 < > 客戶都說我的畫面作得不夠華麗 < > 雖然說比起德國、日本的機台來說已經是很夠看了,但客戶總是說「難到你們都不玩 GAME 嗎?現在的 GAME 都可以作到那麼漂亮了,為什麼機台程式就不行呢?」
有空,我一定要開始玩 OpenGL <>沒空更新的網頁...
href="http://big5.to/吃軟也吃硬">http://big5.to/吃軟也吃硬 http://coolsite.to/ushells 介紹Shells,LiteStep,GeoShell....
------
http://www.ViewMove.com |
bugmans
高階會員 發表:95 回覆:322 積分:188 註冊:2003-04-12 發送簡訊給我 |
http://www.torry.net/authorsmore.php?id=1089
TFractal Image v.1.3可產生碎形的圖 By Kim Friis Pedersen. A Image decendant that allows you so specify a Fractal type to paint on the Picture canvas. 檔案下載位置http://www.torry.net/vcl/graphics/other/fracimag.zip 碎形的介紹http://zh.wikipedia.org/wiki/分形 安裝好後在Sample Palette找到FractalImage,拖曳到Form1上 在Form1::FormCreate裡面加入FractalImage->PaintFractal();圖才會顯示 功能的設定在Object Inpector的TFractalProperties裡面 FratcalType設定要產生何種碎形() ftCurl,ftFern蕨類的葉子,ftLeaf一般的樹葉,這程式的圖形是黑白的 剩下的ftMandelBrot,ftJulian,ftMoire看不出來是什麼 其他的碎形圖形http://commons.wikimedia.org/wiki/Fractal |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |