文章內文:
以一些奇形怪狀的版本表示
LS-DYNA:複製代碼Redcode:複製代碼Whitespace:複製代碼Spiral:複製代碼LabVIEW:
G-Code:複製代碼Quartz Composer:
以上資料取自:
http://www.roesler-ac.de/wolfram/hello.htm
原文連結:
http://ck101.com/forums/viewthread.php?tid=1376262&extra=page%3D1%26amp%3Bfilter%3Dtype%26amp%3Btypeid%3D15
以一些奇形怪狀的版本表示
LS-DYNA:
- LS-DYNA
- Back to index
- $ "Hello World" for LS-DYNA
- *KEYWORD
- *PART
-
- 1 1 1
- *SECTION_BEAM
- 1 1 1.0 2 1
- 1.0 1.0 0.0 0.0 1 1
- *MAT_ELASTIC
- 1 1.0E-9 1000.0 0.3
- *ELEMENT_BEAM
- 1 1 2 3 1
- 2 1 3 4 1
- 3 1 3 6 1
- 4 1 6 5 1
- 5 1 8 11 1
- 6 1 11 12 1
- 7 1 12 9 1
- 8 1 9 8 1
- 9 1 8 7 1
- 10 1 7 10 1
- 11 1 14 16 1
- 12 1 16 15 1
- 13 1 13 15 1
- 14 1 15 17 1
- 15 1 19 21 1
- 16 1 21 20 1
- 17 1 18 20 1
- 18 1 20 22 1
- 19 1 23 24 1
- 20 1 24 26 1
- 21 1 26 25 1
- 22 1 25 23 1
- 23 1 27 28 1
- 24 1 28 29 1
- 25 1 29 30 1
- 26 1 30 31 1
- 27 1 32 33 1
- 28 1 33 35 1
- 29 1 35 34 1
- 30 1 34 32 1
- 31 1 36 37 1
- 32 1 37 38 1
- 33 1 40 42 1
- 34 1 42 41 1
- 35 1 39 41 1
- 36 1 41 43 1
- 37 1 44 45 1
- 38 1 45 47 1
- 39 1 48 47 1
- 40 1 47 46 1
- 41 1 46 44 1
- *NODE
- 1 0.0 0.0 1.0
- 2
- 3 0.0 2.0
- 4 0.0 4.0
- 5 2.0
- 6 2.0 2.0
- 7 3.0
- 8 3.0 1.0
- 9 3.0 2.0
- 10 5.0
- 11 5.0 1.0
- 12 5.0 2.0
- 13 6.0
- 14 6.0 4.0
- 15 7.0
- 16 7.0 4.0
- 17 8.0
- 18 9.0
- 19 9.0 4.0
- 20 10.0
- 21 10.0 4.0
- 22 11.0
- 23 12.0
- 24 12.0 2.0
- 25 14.0
- 26 14.0 2.0
- 27 16.0 2.0
- 28 16.5
- 29 17.0 1.0
- 30 17.5
- 31 18.0 2.0
- 32 19.0
- 33 19.0 2.0
- 34 21.0
- 35 21.0 2.0
- 36 22.0
- 37 22.0 2.0
- 38 24.0 2.0
- 39 25.0
- 40 25.0 4.0
- 41 26.0
- 42 26.0 4.0
- 43 27.0
- 44 28.0
- 45 28.0 2.0
- 46 30.0
- 47 30.0 2.0
- 48 30.0 4.0
- *END
- ; Hello World in Redcode
- ; Should work with any MARS >= ICWS-86
- ; (with 128x64 gfx core support, of course!)
- ;
- Start MOV 0,2455
- MOV 0,2458
- MOV 0,2459
- MOV 0,2459
- MOV 0,2459
- MOV 0,2459
- MOV 0,2459
- MOV 0,2460
- MOV 0,2465
- MOV 0,2471
- MOV 0,2471
- MOV 0,2471
- MOV 0,2479
- MOV 0,2482
- MOV 0,2484
- MOV 0,2484
- MOV 0,2484
- MOV 0,2486
- MOV 0,2486
- MOV 0,2486
- MOV 0,2486
- MOV 0,2488
- MOV 0,2493
- MOV 0,2493
- MOV 0,2493
- MOV 0,2493
- MOV 0,2497
- MOV 0,2556
- MOV 0,2559
- MOV 0,2560
- MOV 0,2565
- MOV 0,2570
- MOV 0,2575
- MOV 0,2578
- MOV 0,2585
- MOV 0,2588
- MOV 0,2589
- MOV 0,2592
- MOV 0,2593
- MOV 0,2596
- MOV 0,2597
- MOV 0,2603
- MOV 0,2605
- MOV 0,2608
- MOV 0,2667
- MOV 0,2670
- MOV 0,2671
- MOV 0,2676
- MOV 0,2681
- MOV 0,2686
- MOV 0,2689
- MOV 0,2696
- MOV 0,2699
- MOV 0,2700
- MOV 0,2703
- MOV 0,2704
- MOV 0,2707
- MOV 0,2708
- MOV 0,2714
- MOV 0,2716
- MOV 0,2719
- MOV 0,2778
- MOV 0,2778
- MOV 0,2778
- MOV 0,2778
- MOV 0,2778
- MOV 0,2779
- MOV 0,2779
- MOV 0,2779
- MOV 0,2782
- MOV 0,2787
- MOV 0,2792
- MOV 0,2795
- MOV 0,2802
- MOV 0,2805
- MOV 0,2806
- MOV 0,2809
- MOV 0,2810
- MOV 0,2810
- MOV 0,2810
- MOV 0,2810
- MOV 0,2812
- MOV 0,2818
- MOV 0,2820
- MOV 0,2823
- MOV 0,2882
- MOV 0,2885
- MOV 0,2886
- MOV 0,2891
- MOV 0,2896
- MOV 0,2901
- MOV 0,2904
- MOV 0,2911
- MOV 0,2912
- MOV 0,2913
- MOV 0,2914
- MOV 0,2917
- MOV 0,2918
- MOV 0,2919
- MOV 0,2922
- MOV 0,2928
- MOV 0,2930
- MOV 0,2933
- MOV 0,2992
- MOV 0,2995
- MOV 0,2996
- MOV 0,3001
- MOV 0,3006
- MOV 0,3011
- MOV 0,3014
- MOV 0,3021
- MOV 0,3022
- MOV 0,3023
- MOV 0,3024
- MOV 0,3027
- MOV 0,3028
- MOV 0,3030
- MOV 0,3032
- MOV 0,3038
- MOV 0,3040
- MOV 0,3103
- MOV 0,3106
- MOV 0,3107
- MOV 0,3107
- MOV 0,3107
- MOV 0,3107
- MOV 0,3107
- MOV 0,3108
- MOV 0,3108
- MOV 0,3108
- MOV 0,3108
- MOV 0,3108
- MOV 0,3109
- MOV 0,3109
- MOV 0,3109
- MOV 0,3109
- MOV 0,3109
- MOV 0,3111
- MOV 0,3111
- MOV 0,3111
- MOV 0,3120
- MOV 0,3121
- MOV 0,3124
- MOV 0,3124
- MOV 0,3124
- MOV 0,3126
- MOV 0,3129
- MOV 0,3130
- MOV 0,3130
- MOV 0,3130
- MOV 0,3130
- MOV 0,3130
- MOV 0,3131
- MOV 0,3131
- MOV 0,3131
- MOV 0,3131
- MOV 0,3135
- JMP 0
- Hello #World #in #Whitespace * # # * # # #
- + *[Space]
- + #is #marked #with"#" # #[tab] #with"*" *line-feed #with #"+" * # *so
- +it #would
- +be #easier #to #write #again... #All *the *non-whitespace-characters #are *ignored... * # #
- + *
- + # # # # # * * # * * # #
- + *
- + # # # # # * * # * * * *
- + *
- + # # # # # * # # # # #
- + *
- + # # # # # * # * # * * *
- + *
- + # # # # # * * # * * * *
- + *
- + # # # # # * * * # # * #
- + *
- + # # # # # * * # * * # #
- + *
- + # # # # # * * # # * # #
- + *
- + # # # # # * # # # # *
- + *
- + # # # # # * # * #
- + *
- + # #
- +
- +
- +
- Hello World in Spiral. No comment character exists.
- e0v *** *eXlv** *lX *2X **oXi
- v * * * * * * 2 * o ** v*
- * * * * * ***** * v * v * *iX *
- * * * * * * * ^ v * * * w *
- * *** * * ***** * v * * * * v *
- * * * ^ * ^ * * * * * *
- * *** * * ****v * v * * v * * *
- * * * * * * * * * * ^ * * *
- * * * * * ***** * ***** * ***** * *** *
- * * * * * * * * * * ** **
- *** *** ******* *****v^ ******* *****
- *wX *** **3Xp *rX4.. d5* qd**
- * 3 * * ** v^ * .. * * * ***
- * v * ^ * #pX v * .. . * * * **
- * *** v * # r # * .. . * * * !q* *
- * * * * * # v # * 54 .. * * * * * *
- * * * * * # * # * @X * * * * * *
- * * * * * # * # * v * * * * * *
- * * * * * # * # * * ** * * * * * *
- * * * * # * # * ** ** * * * *** *
- * * * * #v* ^ * *** * * ***** * **
- ** * ** ** *v * * * * * * * ***
- ***** *v^** *** *** ******* ****
G-Code:
- Hello World in "G Code" for CNC machines.
- Click here for a preview.
- %
- O1000
- (PROGRAM NAME - HELLOWORLD)
- (DATE=DD-MM-YY - 30-06-05 TIME=HH:MM - 19:37)
- N10G20
- N20G0G17G40G49G80G90
- /N30G91G28Z0.
- /N40G28X0.Y0.
- /N50G92X0.Y0.Z0.
- ( 1/16 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - .0625)
- (CONTOUR)
- N60T1M6
- N70G0G90X0.Y1.A0.S5000M3
- N80G43H1Z.5
- N90Z.25
- N100G1Z-.005F2.
- N110Y0.F20.
- N120G0Z.5
- N130X.5
- N140Z.25
- N150G1Z-.005F2.
- N160Y1.F20.
- N170G0Z.5
- N180Y.6106
- N190Z.25
- N200G1Z-.005F2.
- N210X0.F20.
- N220G0Z.5
- N230X.6157Y.4712
- N240Z.25
- N250G1Z-.005F2.
- N260X.6039Y.4135F20.
- N270X.6Y.351
- N280X1.1
- N290G3X1.0098Y.6202R.4333
- N300X.8941Y.6971R.2625
- N310X.7255Y.6538R.1837
- N320X.6157Y.4712R.332
- N330G0Z.5
- N340X.6Y.351
- N350Z.25
- N360G1Z-.005F2.
- N370X.6039Y.2885F20.
- N380G3X.7255Y.0481R.385
- N390X.9745R.1853
- N400X1.0843Y.2308R.332
- N410G0Z.5
- N420X1.2039Y0.
- N430Z.25
- N440G1Z-.005F2.
- N450Y1.F20.
- N460G0Z.5
- N470X1.3098
- N480Z.25
- N490G1Z-.005F2.
- N500Y0.F20.
- N510G0Z.5
- N520X1.4706Y.125
- N530Z.25
- N540G1Z-.005F2.
- N550X1.502Y.0817F20.
- N560G3X1.6176Y.0048R.2625
- N570X1.7863Y.0481R.1837
- N580X1.9118Y.351R.3957
- N590X1.8216Y.6202R.4333
- N600X1.7059Y.6971R.2625
- N610X1.5373Y.6538R.1837
- N620X1.4157Y.4135R.358
- N630X1.4706Y.125R.4611
- N640G0Z.5
- N650X1.9853Y0.
- N660Z.25
- N670G1Z-.005F2.
- N680X2.0422Y.1442F20.
- N690G0Z.5
- N700X2.5706Y1.
- N710Z.25
- N720G1Z-.005F2.
- N730X2.6961Y0.F20.
- N740X2.8216Y1.
- N750X2.9451Y0.
- N760X3.0706Y1.
- N770G0Z.5
- N780X3.2961Y.6538
- N790Z.25
- N800G1Z-.005F2.
- N810X3.2608Y.6202F20.
- N820G3X3.1745Y.2885R.4408
- N830X3.2961Y.0481R.385
- N840X3.5451R.1853
- N850X3.6706Y.351R.3957
- N860X3.5804Y.6202R.4333
- N870X3.4647Y.6971R.2625
- N880X3.2961Y.6538R.1837
- N890G0Z.5
- N900X3.7461Y.7019
- N910Z.25
- N920G1Z-.005F2.
- N930Y0.F20.
- N940G0Z.5
- N950Y.3654
- N960Z.25
- N970G1Z-.005F2.
- N980X3.7637Y.4663F20.
- N990G2X3.8422Y.6587R.4948
- N1000X3.9167Y.7019R.0929
- N1010G1X4.0755
- N1020G2X4.15Y.6587R.0929
- N1030X4.1951Y.5769R.246
- N1040G0Z.5
- N1050X4.3255Y1.
- N1060Z.25
- N1070G1Z-.005F2.
- N1080Y0.F20.
- N1090G0Z.5
- N1100X4.9275
- N1110Z.25
- N1120G1Z-.005F2.
- N1130Y1.F20.
- N1140G0Z.5
- N1150X5.0314
- N1160Z.25
- N1170G1Z-.005F2.
- N1180Y.2981F20.
- N1190G0Z.5
- N1200X4.9275Y.274
- N1210Z.25
- N1220G1Z-.005F2.
- N1230X4.8941Y.1731F20.
- N1240G2X4.7627Y.0192R.3255
- N1250X4.5529Y.0481R.1862
- N1260X4.4314Y.2885R.358
- N1270X4.5176Y.6202R.4408
- N1280X4.6333Y.6971R.2625
- N1290X4.802Y.6538R.1837
- N1300X4.8941Y.5288R.3457
- N1310G1X4.9275Y.4279
- N1320G0Z.5
- N1330X5.0314Y.149
- N1340Z.25
- N1350G1Z-.005F2.
- N1360Y0.F20.
- N1370G0Z.5
- N1380M5
- N1390G91G28Z0.
- N1400G28X0.Y0.A0.
- N1410M30
- %
以上資料取自:
http://www.roesler-ac.de/wolfram/hello.htm
原文連結:
http://ck101.com/forums/viewthread.php?tid=1376262&extra=page%3D1%26amp%3Bfilter%3Dtype%26amp%3Btypeid%3D15
0 意見:
張貼留言張貼留言