I have made a colour selection function 'Palet(tint)' in which a single parameter 'tint' selects a fully saturated colour of maximum intensity from the full range of colours.
The simple version of the Palet-function is applied in coloured versions of the 'Fractal' and 'Fractaler' programs from the Examples-folder.
In the extended version of the Palet-function the following parameters are added: 'Saturation', 'Brighten" and 'Intensity'
Two demo-programs are included:
- 'Palette Demo' displays a number of coloured disks of which the parametrs can be set in the beginning of the program.
- The program 'Palette Parameters' clarifies how the different parameters operate. In the top of the display the colour-selection curves are displayed as a function of the parameter 'tint' together with the generated spectrum.
Sample screenshots of the coloured fractal programs are added
The folder can be accessed via:
https://www.dropbox.com/sh/ggw6wvdg0mnv13j/L2lCojolZE
The file - ReadMe.txt gives detailed info
The following screenshot is of the program 'Palette Parameters'
Another colour 'design'-program is 'Pastel colours' in which colours are generated with constant luminance level.
After finishing the selected colour is written to Clipboard:
Both programs have a test-variable 'Smallscreen' which, if set to 1, will give a simulation of iPhone-size:
Information on background and usage and can be found in the file "- ReadMe"
New colour functions
- Dutchman
- Posts: 858
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
New colour functions
Last edited by Dutchman on Tue Jan 23, 2018 9:22 am, edited 4 times in total.
- Mr. Kibernetik
- Site Admin
- Posts: 4787
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Colour Palette
Great applications! Bravo!
Colored fractal is also very nice!
I made a modification of Palette Demo, attached here. Do you like it?![Wink ;)](./images/smilies/icon_e_wink.gif)
Colored fractal is also very nice!
I made a modification of Palette Demo, attached here. Do you like it?
![Wink ;)](./images/smilies/icon_e_wink.gif)
- Attachments
-
- Palette Demo Pie.txt
- (2.77 KiB) Downloaded 406 times
- Dutchman
- Posts: 858
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Colour Palette
Nice variant, but the non-graphic mode was not correct.
The display of the numbers was the main reason to make that demo
I repaired it and added the file to the folder on DropBox.
It is also attached to this post
Thank you.
The display of the numbers was the main reason to make that demo
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
I repaired it and added the file to the folder on DropBox.
It is also attached to this post
Thank you.
- Attachments
-
- Palette Demo Pie.txt
- Palette Demo Pie version 1.2
- (2.88 KiB) Downloaded 398 times
Last edited by Dutchman on Sat Apr 19, 2014 6:40 pm, edited 1 time in total.
- Dutchman
- Posts: 858
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Colour Palette
Hi Mr Kibernetik,
Thanks for the new version 3.7.
I feel honored that palette functions are included in the example gallery.
The included version of "Palette Demo Pie.txt" however is not correct.
The non-graphic mode is not correct. Set "Graph=0' in the first line of the program for the non-graphics mode.
In my previous post you find the corrected version 1.2
Thanks for the new version 3.7.
I feel honored that palette functions are included in the example gallery.
The included version of "Palette Demo Pie.txt" however is not correct.
The non-graphic mode is not correct. Set "Graph=0' in the first line of the program for the non-graphics mode.
In my previous post you find the corrected version 1.2
- Mr. Kibernetik
- Site Admin
- Posts: 4787
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Colour Palette
Thank you for your note, Dutchman!
I will replace it with your newer version.
I will replace it with your newer version.
- Dutchman
- Posts: 858
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Colour Palette
I discovered that "Palette Parameters" needed some repair.
Probably due to changes in SB-version or device. (from iPad-1 to iPad-Air)
Furthermore I added display of slider-values, so that you can see e.g. the 'tint'-value for the desired colour.
The program-file AND screenshot have been updated.
![Evil or Very Mad :evil:](./images/smilies/icon_evil.gif)
Probably due to changes in SB-version or device. (from iPad-1 to iPad-Air)
Furthermore I added display of slider-values, so that you can see e.g. the 'tint'-value for the desired colour.
The program-file AND screenshot have been updated.
- Dutchman
- Posts: 858
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Colour Palette and Pastel colours
I have adapted "Palette Parameters" such that it functions also with iPhone-size. I could only simulate it. Please let me know if it is OK on iPhone.
Another 'Colour-design' program is added "Pastel colours", which generate colours with identical luminance levels.
Both programs write the selected colour to Clipboard on exit.
Files are updated, inclusive "- ReadMe."
Also the first post in this topic has been updated, inclusive screenshots.
Another 'Colour-design' program is added "Pastel colours", which generate colours with identical luminance levels.
Both programs write the selected colour to Clipboard on exit.
Files are updated, inclusive "- ReadMe."
Also the first post in this topic has been updated, inclusive screenshots.
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Colour Palette and Pastel colours
Just trying the apps on my iPad. Pastel Colors is nice, but there is a problem with the luminance slider. Just when it is dragged down to the 0 end of its track, luminance jumps to full as it reaches 0.
I will test everything on my iPhone 6 tonight and let you know how it fits.
I will test everything on my iPhone 6 tonight and let you know how it fits.
The only thing that gets me down is gravity...
- Dutchman
- Posts: 858
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Colour Palette and Pastel colours
No it is OK. It jumps to luminance=0.5 because 'colour' without luminance is no colour and it indicates that the constant 'Lum' in the function has to be set. You can adapt the function and remove the relevant 'IF'-statement. ![Wink ;)](./images/smilies/icon_e_wink.gif)
![Wink ;)](./images/smilies/icon_e_wink.gif)