WFU

2026年5月30日 星期六

use AI to create note application

 The application can record hobby or other thing


It can record drama progress



Double click drama item can edit comment and it have a my favourte button



Double click title can edit


It can add a few seasons of drama



https://github.com/paullkw/daily-note.git


2026年4月25日 星期六

Use AI to create a simple test application

 After login, it will redirect to dashboard


There are two ways to create test , import test by excel or create test in web

It have a button to download template


Excel template content


After fill upload excel template, click upload test to upload, test name will be file name without extension


Click Test button, it will redirect to a Test page which show multiple choice


There are two type of multiple choice, if question have only one answer , it options will display as radio button, if question have multiple answers , it will display as checkbox and have a button check, click check can check the answer, both show response immediately


Click Edit button, it will redirect to a Edit test page


Question have a active field, only active question will show in test


Click report button, it will redirect to a report page which show total count of answer incorrectly


Click clone button will redirect to a clone test page, test title will auto fill in test title with datetime, only selected question will clone to new test, it have order by incorrect count descending


Click setting button will redirect to setting page, it have a setting Consecutive Correct To Inactivate Question, if the question is answer consecutive correct to this setting , it will auto update the question active field to false and the question will not show in the test


It have delete button can delete test





























2026年4月23日 星期四

Use AI to create a simple vocab learning application

 After Login


Prepare Images, File name without extension is answer option

Upload files


Click Multiple Choice


Click Setting


There a option can count of consecutive correct to inactivate question


There a clone function can clone selected question to a new test



There a incorrect report 





There is flashcard function




There is matching function



There is memory game function



There is crossword puzzle function




There is word search function




There is typing game function






https://github.com/paullkw/SimpleVocabApp



2019年2月15日 星期五

Goethe's Color Theory

Johann Wolfgang von Goethe was a German writer. He was author of "The Sorrows of Young Werther" and "Faust".He not only was a author, he also interested in natural science.
Goethe was opposed to Newton's analytic treatment of color. He published "Theory of Colours" in 1810. Goethe characterized colour as arising from the dynamic interplay of darkness and light.
Although Goethe's work was rejected by physicists, I think Goethe observation is valuable.

I think light is only consist of three color, red, green and blue. And it is not consist of seven or more color or it is arising from the dynamic interplay of darkness and light.

I try to explain Goethe observation of color by this.

1. When Goethe look at a white wall through a prism, he only can see a white wall, can not see other color. If white wall has darken area, he can see other color.

Along with the rest of the world I was convinced that all the colors are contained in the light;
no one had ever told me anything different, and I had never found the least cause to doubt it,
 because I had no further interest in the subject.

But how I was astonished, as I looked at a white wall through the prism, that it stayed white!
That only where it came upon some darkened area, it showed some color, then at last, around the window sill all the colors shone…
It didn’t take long before I knew here was something significant about color to be brought forth, and I spoke as through an instinct out loud,
that the Newtonian teachings were false.     —Goethe

I try to explain why a white wall has darken area can see different color.

If you try to put a white paper strip on a dark paper and look at it through a prism. You should see something like below.


I explain this phenomenon is because red , green , blue light has different refractive index.


when a white paper strip reflect only red light.




when a white paper strip reflect only red and blue light.



when a white paper strip reflect red , green and blue light.


when goethe look at a white wall through a prism it still white because red , green , blue light after refraction is still in write area, so it is impossible to see other color.


2. Goethe produce a light spectrum on a white paper using prism. When goethe increase the distance between white paper and prism. He found that when blue and yellow overlap will show green color.


I have try the experiment Goethe have done, when the distance between white paper and prism increase, blue and yellow will come closer, when blue and yellow overlap will show green. 

You can not say goethe observation is wrong, but I think why blue and yellow overlap will form green is because when white paper and prism has certain distance, green is not overlap with red and blue, green is appear.


when one beam of light through a prism

when two beam of different reflaction index light through a prim



when three beam of different reflaction index light through a prim



If apply this to the Goethe prism experiment. Below is the picture about white wall and prism in different distance the result will show and corresponding light through a prism position.


In conclusion,  Goethe's work was rejected by physicists, but I think Goethe observation about light is not no value.