星期四, 5月 28, 2026

星期三, 5月 27, 2026

EX#12 3D model and Navigation

 課堂練習 

Deadline:  Saturday at 23:59 (one more week)

Send all the share links to  me chang212@gmail.com by email with subject EX#12 [your id, your name]


1. 從文字製作太陽-地球-月亮 3d 模型 (Hint: Three.js for Sun, Earth, Moon,  starfield.)

2. 從影像資料庫選取 1 幅,製作3d 模型圖 (Hint: Prompt "3D model")

3. Add engine animation of Leap 71 (Hint: prompt "Add engine animation")

4. Add navigation for the urban pedestrian (Hint: prompt "navigate")

5. 製作3d 障礙模型圖,模擬盲人行進 

The model is broken. The pedestrian got stuck ahead of the air-conditioner. Your task is repair the model to walk around it and make it to the destination.

Your prompts show a clear progression from initial obstacle identification → edge detection → 3D visualization → realistic models → collision detection → intelligent avoidance → critical safety zones.










3D Models for Navigation

 


navigation




星期三, 5月 20, 2026

EX#11 Circuit Optimization on PCB

課堂練習 

Deadline:  Saturday at 23:59 (one more week)

Send all the share links to  me chang212@gmail.com by email with subject EX#11 [your id, your name]


PCB Trace Routing and/or Parameter Tune-Up 

1. Optimize trace routing for the Differential Pair Circuit on PCB 


trace routing, share (artifact, more accurate schematic)


Steps

Starting from the imperfect design, complete the trace routing. Do trace routing ( 參考 share, share 2, share 3)






2. 設計Crystal 石英振盪電路的PCB


(3, 4 任選一題來做)
3. 使用鑽孔路徑演算法進行以下PCB 鑽孔(演算法 提供參考)


PCB 1





PCB 2



甚麼是 TSP?

Traveling Salesman Problem 簡稱TSP

 (一個推銷員要拜訪所有客戶城市,每個城市只能拜訪一次,最後要回到出發城市,請為他/她計算最短的拜訪路徑)

TSP在工業界有重要應用,包括物流(UPS/Amazon配送路線優化)、製造業(電路板鑽孔、機器人組裝路徑)、電信(網路路由、線路安裝)和能源(電網維護、管線檢查)。凡是需要造訪多個地點同時最小化成本、時間或距離的場合都適用。現代變體能處理容量限制、時間窗口等實際約束。企業使用OR-Tools、Gurobi等專業軟體解決這些問題,透過優化倉儲揀貨、切割模式、3D列印路徑和車隊管理等作業,往往能節省數百萬成本。


(樸素) Visualize TSP (Traveling Salesman Problem) by A* search 使其可以改變網路節點個數

(美學) 視覺化 A* for Traveling Salesman Problem 使其可以改變網路節點個數







星期四, 5月 14, 2026

Follow up EX#10

 這不是 benchmark

跑分需要載入你要跑分的標的程式
你都沒有載入程式
根本不可能為這隻程式進行跑分
這是亂數模擬

建議你先載入程式
我有提供原始程式給你了,下載後就可以使用了


Placement artifact 

下載方法,點選我的連結,按 customize, 會跳出程式畫面,然後選 download as HTML 然後用cowork 或是其他類似功能平台跑 benchmark或是直接用Claude Chat 跑 benchmark