#1
i am looking to edit the source of:
http://meyerweb.com/eric/tools/color-blend/
would like to have it process atleast 100 "midpoints" at once, instead of the default 10
and output the results (only the numbers needed, i dont need colours to be shown) in a sepperate list
so that i can copy them all into a program (notice you can highlight one of the codes at once)

any help is appreciated

i have msn, if you would like to talk, just pm me your address, or post it here
bacically looking for 100-200 hex codes to make a colour loop

like that one
Last edited by xiyixo at Jul 29, 2008,
#2
Only looked at it really quickly. Assuming that the script is well written, you could just add more options here:

</tr>
<tr>
<th>Midpoints</th>
<td>
<select id="steps">

<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>

<option value="10">10</option>
</select>
</td>
</tr>
<tr id="gobuttons">

Did I answer your question? If not, please clarify...
Guess what scale this song is in and I'll give you an eCookie.

Temporal
#3
Quote by Degorath
Only looked at it really quickly. Assuming that the script is well written, you could just add more options here:

</tr>
<tr>
<th>Midpoints</th>
<td>
<select id="steps">

<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>

<option value="10">10</option>
</select>
</td>
</tr>
<tr id="gobuttons">

Did I answer your question? If not, please clarify...

naw, i had allready tried that
it DOES process more numbers, i belive, but it will only display the first 10
#4
You'll need to modify this loop too, I believe:

	for (j = count + 1; j < 12; j++) {
		palette[j].text = '';
		palette[j].bg = 'white';


To something like this:

	for (j = count + 1; j < 102; j++) {
		palette[j].text = '';
		palette[j].bg = 'white';


It's been a while since i programmed javascripts, so I can't guarantee that this is the answer to your problem.

Edit. the for loop in function drawPalette() probably needs some altering too.
Quote by p o e
lmfao man thats so sick and depraved and yet funny all at once

my hats off to you IbanezSA160, you have embodied the Pit into one little poem
#5
what I did

<th>Midpoints</th>
<td>
<input type="text" id="steps" value="10" />
</td>

make it a text input instead of a dropdown


and then in the section with

<table id="output">
<tr>
<th>Palette</th>


you have to add more boxes for as many colours as you would like
<tr>
<td></td>
<td class="text"><input type="text" id="pal12" size="19" /></td>
<td class="pal" id="p12"> </td>
</tr>

changing those 2 numbers as you go up


and I think I had to up the count on one of the loops in there too
#6
ok, so i have gotten it to show and process 100 "midpoints" at once, by adding a "100" option, changing one of the loops, and adding over 100 more boxes, the colour is shown in

now my issue is that i cannot highlight/copy more than one colour code at a time
any way around this, possably having it do a document.print() every value?
idk, im not too good with this