| tiancao1001 于 2008-07-19 10:37 PM 发表评论: |
| 赤壁,果真含有不少笑料,张飞一手好字,主公还是忘记不了老本行编草鞋 |
|
| 查看所评论的日志:田草日志 |
| tiancao1001 于 2008-07-19 10:34 PM 发表评论: |
| 好123,混到百度主页上去了,从我的博客关键字被搜索的情况看,百度只占据14%,而谷歌占据81%。 |
|
| 查看所评论的日志:田草日志 |
| 田草 于 2008-07-19 10:10 PM 发表评论: |
吴宇森还知道 诸葛孔明会 给牛马引产,哈哈  |
|
| 查看所评论的日志:田草日志 |
| tiancao1001 于 2008-07-19 03:00 PM 发表评论: |
|
| 查看所评论的日志:CAD VBA 也能画出这样的样条曲线spirograph万花尺螺旋曲线 |
| tiancao1001 于 2008-07-19 01:15 PM 发表评论: |
|
| 查看所评论的日志:CAD VBA 也能画出这样的样条曲线spirograph万花尺螺旋曲线 |
| hgh 于 2008-07-18 08:15 PM 发表评论: |
|
| 查看所评论的日志:CAD VBA DVB文件加密和解密 |
| tiancao1001 于 2008-07-17 09:03 PM 发表评论: |
Private Sub CommandButton2_Click() Dim i As Long Dim n As Integer Dim Pi As Double Pi = 4# * Atn(1#) Dim R As Long Randomize R = Int(Rnd * 100) Dim R1 As Long R1 = (0.5 - Rnd) * 199 Dim L As Long L = Int(Rnd * 200) Dim S As Long S = Int(Rnd * 50) Dim M As Long M = Int(Rnd * 100) Dim A1 As Double Dim A2 As Double Dim P(2) As Double Dim P0(2) As Double Dim x As Double Dim y As Double Dim Fit() As Double Dim Sp As AcadSpline ReDim Fit(2) i = i + 1 n = n + 1 A1 = i * Pi / 180 A2 = (R1 / R) * A1 x = (-(R1 - R) * Cos(A1) - S * Cos(A2 - A1) + 100) * M y = ((R1 - R) * Sin(A1) - S * Sin(A2 - A1) + 100) * M P0(0) = x: P0(1) = y Fit(0) = x: Fit(1) = y: Fit(2) = 0 'ThisDrawing.ModelSpace.AddPoint P0 Do DoEvents i = i + 1 n = n + 1 ReDim Preserve Fit(n * 3 - 1) A1 = i * Pi / 180 A2 = (R1 / R) * A1 x = (-(R1 - R) * Cos(A1) - S * Cos(A2 - A1) + 100) * M y = ((R1 - R) * Sin(A1) - S * Sin(A2 - A1) + 100) * M P(0) = x: P(1) = y Fit(n * 3 - 3) = x: Fit(n * 3 - 2) = y: Fit(n * 3 - 1) = 0 If n = 359 Then Set Sp = ThisDrawing.ModelSpace.AddSpline(Fit, Point3D(0, 0, 0), Point3D(0, 0, 0)) Randomize 'Sp.color = Int(Rnd * 255) n = 0 End If If Abs(P(0) - P0(0)) < 10 ^ -2 And Abs(P(1) - P0(1)) < 10 ^ -2 Then Exit Do 'If i > 10 ^ 4 Then Exit Do Loop MsgBox "R=" & R & "/ R1=" & R1 & "/ L=" & L Prompt "R=" & R & "/ R1=" & R1 & "/ L=" & L & "/ S=" & S & vbCrLf End End Sub |
|
| 查看所评论的日志:CAD VBA 也能画出这样的样条曲线spirograph万花尺螺旋曲线 |
| 田草 于 2008-07-17 11:48 AM 发表评论: |
<SCRIPT type=text/javascript> var tips1;var tips2; var zh_theTop = 180/*这是默认高度*/; var old = zh_theTop; function initFloatTips() { tips1 = document.getElementById('adleft'); tips2 = document.getElementById('adright'); moveTips(); };
var zh_pos; function moveTips() { var tt=50; if (window.innerHeight) { zh_pos = window.pageYOffset } else if (document.documentElement && document.documentElement.scrollTop) { zh_pos = document.documentElement.scrollTop } else if (document.body) { zh_pos = document.body.scrollTop; } zh_pos=zh_pos-tips1.offsetTop+zh_theTop; zh_pos=tips1.offsetTop+zh_pos/5; if (zh_pos < zh_theTop) zh_pos = zh_theTop; if (zh_pos != old) { tips1.style.top = zh_pos+"px"; tips2.style.top = zh_pos+"px"; tt=10; } old = zh_pos; setTimeout(moveTips,tt); } initFloatTips() ; </SCRIPT>
<DIV id=adleft style="RIGHT: 2px; LINE-HEIGHT: 150%; POSITION: absolute; TOP: 150px; left: 910px; float:right"> <TABLE cellSpacing=0 cellPadding=0 width=100 border=0> <TBODY> <TR> <TD vAlign=top height=108> <TABLE cellSpacing=0 cellPadding=0 width=93 border=0> <TBODY> <TR> <TD width=107><EMBED src='EccoolAda.swf' wmode='transparent' quality=high WIDTH=100 HEIGHT=300 TYPE='application/x-shockwave-flash' id=EccoolAd></EMBED></TD> </TR> </TBODY> </TABLE> </TD> </TR> </TBODY> </TABLE> </DIV> <DIV id=adright style="LEFT: 1px; LINE-HEIGHT: 150%; POSITION: absolute; TOP: 150px"> <TABLE cellSpacing=0 cellPadding=0 width=100 border=0> <TBODY> <TR> <TD vAlign=top height=108> <TABLE cellSpacing=0 cellPadding=0 width=97 border=0> <TBODY> <TR> <TD colSpan=6 height=93><EMBED src='EccoolAdb.swf' wmode='transparent' quality=high WIDTH=100 HEIGHT=300 TYPE='application/x-shockwave-flash' id=EccoolAd></EMBED></TD> </TR> </TBODY> </TABLE> </TD> </TR> </TBODY> </TABLE> </DIV> |
|
| 查看所评论的日志:支持IE、Firefox、Opera的对联广告(来自网易) |