| Color mixer in c-Sharp | |||||||||||||||||||
| . | |||||||||||||||||||
| Version: 210304Th | |||||||||||||||||||
| . | |||||||||||||||||||
|
|||||||||||||||||||
| . | |||||||||||||||||||
| . | |||||||||||||||||||
| 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.. | |||||||||||||||||||
| . | |||||||||||||||||||
|
|||||||||||||||||||
| . | |||||||||||||||||||
|
|||||||||||||||||||
| . | |||||||||||||||||||
| . | |||||||||||||||||||
|
|||||||||||||||||||
| . | |||||||||||||||||||
| . | |||||||||||||||||||
| If there are any mistakes in this post then I will remove them whenever I will know about them. | |||||||||||||||||||
| . | |||||||||||||||||||
Showing posts with label COVID_19. Show all posts
Showing posts with label COVID_19. Show all posts
Wednesday, March 3, 2021
Color mixer in c-Sharp - 210304Th
Tuesday, December 1, 2020
Turtle made by Me and my Niece - 201201Tu
Labels:
COVID_19,
COVID-19,
COVID19,
DIY,
Pet,
Photography,
RES Turtle,
StayBusy,
StayHappy,
StayHome,
StaySafe,
Turtle
Thursday, October 29, 2020
A corner of our Lawn - 201030Fr
| A corner of our Lawn | |||||||||
| . | |||||||||
| Version: 201030Fr | |||||||||
| . | |||||||||
| Right from the beginning we had a coconut tree at a corner of the lawn of our home. Coconut tree grew into a healthy tree and used to give very healthy coconut fruits frequently. But a few years back it become sick and slowly, slowly diet. We were not able to save it. After that coconut tree had died we arranged some laborers to cut and remove it's remains from our lawn. That coconut tree was around 30 years old. The corner of our lawn, where once our beautiful and healthy coconut tree used to be standing, remained empty for some time. Meanwhile we kept planning what to plant in that place or how to utilize that space. | |||||||||
| . | |||||||||
| During same time we have had a good looking extra plant in a good looking pot in our veranda. I suggested to place that plant in the empty corner and so from then that empty looking area became not so empty for the time being. After some time my brother brought some artificial birds and our gardener placed them in front of the plant we had earlier placed in the corner of our lawn. | |||||||||
| . | |||||||||
| Combination of big leaved plant and two good looking artificial birds in front of it looked very good then and is still looking very good. Although that plant went through some bad times during summer 2020 of Karachi, Sindh, Pakistan but after that recovered. | |||||||||
| . | |||||||||
| Following are photos I took using my mobile, nokia c1-01, of the plant and two artificial birds standing in front of it I mentioned above. | |||||||||
| .6,191,216);">. | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
| . | |||||||||
| If there are any mistakes in this post then surely I will remove them whenever I will come to know them. | |||||||||
| . | |||||||||
Saturday, September 19, 2020
Color RGB Tint Shade Tone - 200919Sa
| Color RGB Tint Shade Tone | |||||||||
| . | |||||||||
| (ColorRgbTintShadeTone [2] based on an inspiration) | |||||||||
| Version: 200919Sa | |||||||||
| . | |||||||||
| Until a few days ago I was sitting as an attendant with my niece during her online classes. I was not only enjoying those study sessions but was also revising my earlier school days. One day during online class session in drawing class teacher taught about colors, especially how tint and shade from any color can be made, giving practical examples. This was new to me so I also took keen interest in the class. | |||||||||
| . | |||||||||
| Drawing teacher was teaching that for making tint of any source color we mix source color with white color and for making shade of any source color we mix source color with black color. Tint is lighter then source color and shade is darker then source color. As much white color we mix with source color as much tint (lighter version of source color) we get. As much black color we mix with source color as much shade (darker version of source color) we get. | |||||||||
| . | |||||||||
| I am trying and making since around one year some interesting and simple computer educational games for my niece, based on her school lessons. This time also I made an idea of making a simple computer application for my niece so that she can play with colors, tints and shades. As a side effect and/or bonus I will also get opportunity to play with colors, tints and shades. | |||||||||
| . | |||||||||
| Application's user interface is simple and easy to understand. I named this application ColorRgbTintShadeTone. On the top left of the application are menu options and on the top right are toolbar options. At the bottom is status line and under it is progress bar. In between is the play area. | |||||||||
| . | |||||||||
| In play area Under Action column: | |||||||||
|
|||||||||
| . | |||||||||
| In play area Under Value column: | |||||||||
|
|||||||||
| . | |||||||||
| In play area Under Parts column to the right of RGB, colors for Red, Green and Blue selections are displayed. | |||||||||
| . | |||||||||
| In play area Under View column: | |||||||||
|
|||||||||
| . | |||||||||
| Following are the photos/screenshots of the application I described above. | |||||||||
| . | |||||||||
| . | |||||||||
| Application looks like this. | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
| Application looks like this at start while initializing. | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
| Application looks like this at End while saving settings. | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
| If there are any mistakes in this post then I will remove them whenever I will know about them. | |||||||||
| . | |||||||||
Monday, August 3, 2020
Home plan 3D by Me and my Niece - 200804Tu
| Home plan 3D by Me and my Niece | |||||||||
| . | |||||||||
| (Educative and entertaining DIY activity during COVID_19 lockdown) | |||||||||
| Version: 200804Tu | |||||||||
| . | |||||||||
| During the COVID-19 related lockdown/holidays/free-time, my niece and I were looking for a fun activity to pass the time. We decided to create a 3D home model, which turned out to be a great way to spend quality time together. | |||||||||
| . | |||||||||
| We utilized thermocole sheets, which came as packing material with our new freezer, to build the 3D home plan. This creative reuse of materials allowed us to think outside the box and get creative with our project. | |||||||||
| . | |||||||||
| My niece then decorated her this self-made 3D home model with her old toys like dolls and kitchen set etc, adding a personal touch to the finished project. She thoroughly enjoyed the creative process and is still delighted with our finished project, playing with it every chance she gets!. | |||||||||
| . | |||||||||
| Following are photos of above mentioned Home plan 3D. | |||||||||
| . | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
| . | |||||||||
| After completing the model, I noticed that although the model looked good but the various parts we created using thermocole sheets weren't securely fixed in place. To address this issue, I visited a bookshop in the nearby market the next day and purchased masking tape to reinforce the connections between the different parts of the model. This solution worked perfectly, and the model now looks more sturdy and cohesive. | |||||||||
| . | |||||||||
| . | |||||||||
|
|||||||||
| . | |||||||||
| . | |||||||||
| If there are any mistakes in this post then I will remove them whenever I will know about them. | |||||||||
| . | |||||||||
Subscribe to:
Posts (Atom)