Wednesday, March 3, 2021

Color mixer in c-Sharp - 210304Th

  Color mixer in c-Sharp  
.
Version: 210304Th
.
Other versions
Version Link
None No other versions available yet
.
.
Few months ago, one evening, I was sitting in TV lounge of our home and watching some TV program. My niece came to me and asked in her soft voice "How to know what color is made by mixing any two colors?". I said "mix any two colors and you will know". She said "No! Without mixing any colors". I tried to find and give some answer to my niece but had no idea.
.
Therefore instead of answering, somehow, I went into thoughts and started thinking how to give a useful answer to my niece. During same thinking session I wondered why not I make an application for my niece for solving this problem. An application in which my niece can mix any two colors to get the resulting color.
.
After getting this idea I started making the above mentioned application in c#. I made more than one version of the application to test the look and feel of different type of user-interface and code-logic. The version of the above mentioned application I am sharing/discussing here is n-layer based.
.
Following are some screen-shots of the above mentioned application I made in c# for my niece.
.

.
[Application Preview]
Application's preview.
.
.
.
[Application How to Use]
For selecting new color click "Choose color A" and/or "Choose color B" in menu "Action/Select colors/[Choose color A | Choose color B] or in toolbar "Choose color A | Choose color B" or in form right of "Select color" and under "Color A" and/or "Color B" boxes.
For randomly select new "Color A" and/or "Color B" click in menu "Action/Random colors/[Method 1 | Method 2]" or in toolbar's "Random color" part "Method 1" and/or "Method 2".
"Method 1" generates randomly new values for "Color A" and "Color B" and constant value "50%" for 'Color blend %" for "Color A" and "Color B". "Method 2" generates randomly new values for "Color A", "Color B" and "Color blen %" values for "Color A" and "Color B".
.

.
[Application at start]
Application in it's initializing phase. At this phase application initializes itself based on default settings and  settings saved in previous session .
.
.
.
.
[Application started]
Application's main form loaded and is ready for use.
.
.
.
[Application's menu File]
Application's menu option "File" expanded.
.
.
.
[Application's menu Action]
Application's menu option "Action" expanded.
.
.
.
[Application's mulenu Action/Select colors]
Application's menu option "Action/Select colors" expanded.
.
.
.
[Application's menu Action/Random colors]
Application's menu option "Action/Random colors" expanded.
.
.
.
[Application's menu Help]
Application's menu option "Help" expanded.
.
.
.
[Application's menu option Help/About]
Application's menu option "Help/About" clicket.
.
.
.
[Application's menu option Help/Purpose]
Application's menu option "Help/Purpose" clicked.
.
.
.
[Application's menu Help/Main form]
Application's menu option "Help/Main form" expanded.
.
.
.
[Application's menu Help/Color picker
Application's menu option "Help/Color picker" expanded.
.
.
.
[Application's menu Help/Copyright]
Application's menu "Help/Coplyright" clicked.
.
.
.
[Application's Color selecter form]
Application's Color selector/picker form displayed. In this form user can select color via Named-color, Color-picker or Comon-colors..
.
.
.
[Color selected ]
Some samples of main form after color is selected via Color selector form
.
.
.
.
.
.
.
[Application at End]
Application's in it's closing phase. At this phase application saves it's different settings and status..
.
.
.

.
Colors used for Border and Background of this post
Color HSL RGB Hex
 
306, 94%, 45% 224, 007, 203 #e007cb
 
306, 38%, 79% 222, 182, 218 #deb6da
.

.
If there are any mistakes in this post then I will remove them whenever I will know about them.
.


Thursday, January 28, 2021

Doll-Shelf by me and my niece - 210129Fri

  Doll-Shelf by me and my niece.  
.
Version: 210129Fr
(Photos by me on 2021 Jan 30, 31 and Feb 17, 19.)
.
One day in morning I noticed a refrigerator cover card-box and some packing things of our newly bought refrigerator still lying in front of our TV-lounge. That view sent me in back by some years in time when I used internal plastic cover of another refrigerator as a cover in rains. I and my niece enjoyed walking in rains under cover of that plastic bag cover very much. Before doing so I made enough holes in that plastic bag for passage of air.
.
This time I said to my niece why not we make something useful of the leftover materials from new refrigerator packings. So we together started making plans and ended up at the idea of making a doll-house or doll-shelf.
.
Therefore after making plans one evening I collected tools required for making doll-shelf. Tools were one old iron cutting saw blade for cutting cardboard-box etc, one measuring tape, one pencil for making markings, one very large sized needle and some old threads of different colors for stitching different parts of doll-shelf together. Work started at around 4pm.
.
My niece kept helping me in the work especially in measuring and making markings for different parts of Doll-Shelf. Plus she during work also kept doing different thing to simulate my work.
.
By 9pm around half of the work was done. Almost at the same time my niece asked me to stop working today and do remaining work tomorrow as temperature was falling outside where I was working. I stopped and felt that I was starting to feel tired also. During my work my niece kept supplying food and water for me.
.
Next day by 11am I again started working and finished making Doll-shelf by 4pm. First I made different parts of the Doll-Shelf and then I stitched them together. I used thermocol we got from refrigerator packing for making Doll-Shelf structure harder.
.
After that I and my niece together carried that Doll-Shelf into the room of her grandparents because here she often plays with her toys and placed it where we had planned.
.
Next she started placing her new and old toys on her new and self made Doll-Shelf. How happy she was feeling was visible on all of her face and this is the reward of doing something good for young children around oneself.
.
.
Following are the photos I took of above mentioned Doll-Shelf using my mobile nokia c1-01.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
I started taking these photos one day after making Doll-Shelf. I do not know why but it never came to my mind to keep taking photos during the process of planning and making Doll-Shelf.
.

.
[2020 Feb 19 Fri] Today morning I took a few photos of Doll-Shelf and current set of toys arranged over it by my niece. Now a days my niece is often found sitting in front of her this Doll-Shelf and playing joyfully with toys arranged over it
.

.
.
.
.
.
.
.
.
.

.
Colors used in this post:
Border color rgb(128, 32, 0) #802000
Background color rgb(255, 217, 204) #FFD9CC
.

.
If there are any mistakes in this post then I will remove them whenever I will know about them.
.


Thursday, December 31, 2020

Goodbye 2020 and Welcome 2021 - 201231Th

  Goodbye 2020 and Welcome 2021  
.
Version: 201231Th
.
Photos related to our new year 2021 celebration at home.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
Colors used in this post:
Border color rgb(217, 108, 0) #D96C00
Background color rgb(255, 208, 162) #FFD0A2
.
.

.
If there are any mistakes in this post then surely I will remove them whenever I will come to know them.
.


Friday, December 18, 2020

FOXA - Car of my Dreams - 201219Sa

  FOXA: Car of my dreams  
.
Version: 201219Sa
(A continuing idea in it's various stages of evolution)
.
Previous versions:
From Foxy to FOXA
Version: 190516Th
.
Every now and then I keep thinking about making a car of my dreams and also think what kind of features will be in that car. In these lines a few weeks ago I was thinking how a car can be made to fly like an airplane or helicopter. I made many ideas some of them were looking simple and some difficult.
.
In this post I am going to describe one of the ideas I made. To me this idea looks workable and good looking also. Idea is as follows.
.
First think of any normal car with rear mounted engine. Cars with front mounted engine will also work fine.
.
Second add an engine similar to turbofan engines in front trunk of the car for air intake purpose. This engine will pull air from top side of the trunk. These engines will have special open-able and close-able covers also which will open and close automatically as per requirement.
.
Third add four outtake nozzles for air, one each over each tire at around the position where mostly petrol intake point exists. Diameter of these air outtake nozzles will be around the diameter of the petrol intake pipe. These nozzles will normally remain inside the body of the car and covered with lid. These air out-take nozzles will come out of the body of the car only when required for flying/hovering. These nozzles movement will be under control of the car's drives and car's computer.
.
Fourth connect air intake engine and air outtake nozzles using some pipes. Have a neat plumbing.
.
As per my idea, above described arrangement will work fine and also look neat and clean and smart. This idea will also allow car to retain it’s look and feel like normal car.
.
This above mentioned mechanism will allow the car to move like any normal car and hover or fly like helicopter.
.
[ To be continued . . . ]
.

.
Colors used in this post:
Border color rgb(071, 130, 131) #478283
Background color rgb(186, 251, 252) #BAFBFC
.
.

.
If there are any mistakes in this post then surely I will remove them whenever I will come to know them.
.