ClaudeSonnet4.5を用いた教材用プログラム移植 Y.Okamoto 25Dec. 2025
Porting Educational Programs Using ClaudeSonnet4.5
ここ数ヶ月,LLM
AIの進展が凄まじく,ほんの一月油断するとあたたしいLLM開発のニュースが届く.筆者は今年9月以来,これらのLLMAIを用いて古い自作のプログラ
ム類を最新の,ProcessingやPhtyonコードに移植してきた.その一部をここで報告する.忙しい理科教員が教材を作るのに少しでも役立てれば
幸いです.
Over the past few months, the progress of LLM AI has been astonishing. If you let your guard down for just a month, news of new LLM developments arrives. Since September this year, I have been using these LLMAIs to port my old self-made programs to the latest Processing and Python code. I report on some of this work here. I hope this proves even slightly useful for busy science teachers creating educational materials.
1.用いるAI ClaudeSonnet4.5
汎用のChatGPTやGeminiもこの目的には使えるが,私がここ数ヶ月使って一番教材用プログラム開発に役立つと思ったのがが
While general-purpose models like ChatGPT or Gemini could also serve this purpose, the one I found most helpful for educational program development over the past few months isClaudeSonnet4.5.
なんと言っても,各種プログラム言語の 文法に詳しく,作成したコードを実行時にもっともエラーが出る確率が少ない.
しかし,無料版ではその使用時間が限られるため,現在20USD/月のサブスク料を支払っているが,十分その価値がある.ただしサブスク料を払っても,フルで使用するにはトークンの使用量に制限が厳しく,使い方や1日の使用量を限定して使うなどの工夫が必要になる.
Above all, it possesses deep knowledge of various programming languages' syntax, resulting in code with the lowest probability of errors during execution.However,
the free version has limited usage time, so I currently pay a
subscription fee of 20 USD/month, which is well worth it. Even with the
subscription, full usage is restricted by strict token limits, requiring
careful planning such as limiting usage methods or daily usage amounts.
2.古いN88BASICプログラムの移植.
Porting my old N88BASIC Programs.
1) QUARTZ.BAS Quartz2_E.pde with animation images

2) Go_Demo.BAS Go_Demo.pde

3) Sand_PL.BAS Sand_PLF_E.pde

4) Pendu_E.BAS pendu_E.pde
Others are comming soon--.
Copyright(c) by Y.Okamoto 2025, All rights reserved.