0207|09|
2007|09|10|12|
2008|01|02|03|
2009|01|05|08|10|11|12|
2010|01|02|03|04|09|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|04|

2016-04-02 ―― ええい、アホか! 世界をわざわざ面倒くさくして、どうするんだ!! [長年日記]

(昨日の続きです)

(Continuation from yesterday)

私は、シミュレーションプログラムの中で、点を打ったり、線を書いたりするだけの描画ライブラリなんぞ、山ほどあるだろうと思っていました。

I think that there are a lot of drawing libraries that enable me to hit points or draw lines.

ですから、JavaScriptにもPythonにも、私の望むようなライブラリがないことに、本気で驚きました(基本的には、規定のフォーマットのデータとして、保存してから、読みださなければならない)。

So, in Python or JavaScript, I was really surprised that I can not find libraries I want.

もちろん、そのようなライブラリが、全くない、という訳ではないのですが、

Of course , I don't mean there is no libraries in the world, however,

シミュレーションプログラムの中で点や線を描きたければ、うんざりするような前処理をしなければならない。

even if I want to draw dots or lines in my simulation programs, I have to set enormous annoying per-procedures.

ライブラリのインストールだけではなく、バックグラウンドやフォアグランドのフレーム宣言したりと、もう、サンプルプログラム読むだけでウンザリ。

Not only installing the libraries, I have to read many sample program in order to understand something, for example, frame declares of background or foreground.

また、自分で、座標変換などもプログラミングしなければない、ときたもんです。

In addition, it is me to make a program for exchanging a coordinate transformation.

―― ええい、アホか! 世界をわざわざ面倒くさくして、どうするんだ!!

"How stupid! Why do they want to make annoying world on purpose?""

―― 線なんぞ、"lineto()"で、描ければ十分だろうが!

"Using "lineto()" is enough for everyone isn't it?"

-----

と、私と同じように、世界のことを「アホか!」―― と、製作者の方が、思われていたかどうか分かりませんが、

Fortunately, a person who tried to make a wonderful drawing library, -- I don't know whether the person think "How stupid!" ----

whose name is "GRWin".

学生が計算アルゴリズムに集中できるように(アホな描画の前処理なんぞで、うんざりしないように)、非常に単純な描画I/Fで構成されていて、感動します。

The library is made of very simple drawing I/Fs for student to concentrate the calculation algorithm ( they don't become sick by stupid drawing procedures.), and I am impressed.

-----

ただ、性質上仕方ないことなのですが、GRWinが、Windowsプラットフォームに縛られてしまうのが残念です。

But I know that it cannot be helped because of the specification, I am very sorry that GRWin is for windows OS only.

But I never say that

―― これでWebブラウザに直接表示できるようになると、OS非依存になるんだけどなーー

"If I can use GRWin for Web browser in the OS-independent, I become happy."

と、私が言わないのは、

もし私がそれを言えば

If I say so, another say to me

「お前がポーティングやれ」

"Why don't you try it?"

という話になることが、分っているからです。

I know well that.

(実装検討したのですが、エラい手間になることが分かりまして(以下省略))

I have already studied the implementation, however, I noticed that enormous annoying(omitted).