| |||
Views: 88,500,910 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-29-24 12:04 PM |
|
Guest: Register | Login |
0 users currently in Modern Art | 1 guest |
Main - Modern Art - Squares | New thread | New reply |
Xkeeper |
| ||
Level: 105 Posts: 1600/2846 EXP: 12031162 Next: 231098 Since: 02-19-07 Last post: 6063 days Last view: 2800 days |
Just a nifty thing I made in PHP that (nearly) seamlessly tiles (It doesn't always work right) It makes nifty patterns, at least. ____________________ I dealt with it. |
Hiryuu |
| ||
Done. Level: 79 Posts: 452/1471 EXP: 4470645 Next: 108822 Since: 02-19-07 From: ??? Last post: 6089 days Last view: 6082 days |
You've been working on that for too long that I think it's turning your brain to mush. :\
It'd be nice if you had a way to animate it seamlessly as well, if gradual. |
Shiryu |
| ||
Bloober Level: 47 Posts: 281/437 EXP: 723863 Next: 42340 Since: 02-19-07 Last post: 6123 days Last view: 5994 days |
so, what are our odds of getting every square of the same color? or is it programmed in a way it can't happen? ____________________ Generated a 991044 foot, 10.4-inch twiggy catgirl with orange hair, who weighs 315,239,939,065.9 pounds and has soft A-cup breasts, and it only took 0.00031 seconds. |
Xkeeper |
| ||
Level: 105 Posts: 1602/2846 EXP: 12031162 Next: 231098 Since: 02-19-07 Last post: 6063 days Last view: 2800 days |
I haven't touched it for a few weeks (since I made it, even). I was just posting it
I'd work on something more fufilling (like MiniSM) if I had a work area and not a bed. ____________________ I dealt with it. |
Hiryuu |
| ||
Done. Level: 79 Posts: 453/1471 EXP: 4470645 Next: 108822 Since: 02-19-07 From: ??? Last post: 6089 days Last view: 6082 days |
Can you make it work on 176x220?
There's a reason. |
Xkeeper |
| ||
Level: 105 Posts: 1603/2846 EXP: 12031162 Next: 231098 Since: 02-19-07 Last post: 6063 days Last view: 2800 days |
xsz: x square size - 1 (i.e., size without right and bottom border) ysz: y square size - 1 xis: x image size (rounded down to fit even number of xsz) yis: y image size d: density (i.e., "draw this many squares") ____________________ I dealt with it. |
Hiryuu |
| ||
Done. Level: 79 Posts: 454/1471 EXP: 4470645 Next: 108822 Since: 02-19-07 From: ??? Last post: 6089 days Last view: 6082 days |
What about color? |
Xkeeper |
| ||
Level: 105 Posts: 1604/2846 EXP: 12031162 Next: 231098 Since: 02-19-07 Last post: 6063 days Last view: 2800 days |
Do you have a particular request?
(I think i used some rather nonsensical method of generating the colors it used (like, changing from cetrain formulas of "$x * 0.7" or whatever to other ones midway through) and I'm just curious) ____________________ I dealt with it. |
Hiryuu |
| ||
Done. Level: 79 Posts: 455/1471 EXP: 4470645 Next: 108822 Since: 02-19-07 From: ??? Last post: 6089 days Last view: 6082 days |
It looks like it's using just a set few colors. I was wondering if there was any way to change said colors.
I've seen similar things in Starfish where they use themes for the colors but generate random images like this one. |
Xkeeper |
| ||
Level: 105 Posts: 1605/2846 EXP: 12031162 Next: 231098 Since: 02-19-07 Last post: 6063 days Last view: 2800 days |
It uses the same colors right now (based on a quick formula, just 50 seperate colors)
I'll try fidding with it more now, expect an "rc", "bc" and "gc" for ($i = 0; $i < 50; $i++) { $m = $i / 50 * 127; $mr = mt_rand(1, 3); $mg = mt_rand(1, 3); $mb = mt_rand(2, 4); $col[$i][0] = imagecolorallocatealpha($image, $m / $mr + 10, $m / $mg + 10, $m/$mb + 127, round(63 - ($m / 4) + 50)); $col[$i][1] = imagecolorallocatealpha($image, $m / $mr + 20, $m / $mg + 20, $m/$mb + 127, round(63 - ($m / 4) + 30)); } Yeah this'll be fun. ____________________ I dealt with it. |
Hiryuu |
| ||
Done. Level: 79 Posts: 456/1471 EXP: 4470645 Next: 108822 Since: 02-19-07 From: ??? Last post: 6089 days Last view: 6082 days |
I'd figure it'd use something like a range between colors or something. :\
Just using a set hue's gonna get one color. |
Xkeeper |
| ||
Level: 105 Posts: 1606/2846 EXP: 12031162 Next: 231098 Since: 02-19-07 Last post: 6063 days Last view: 2800 days |
Now use:
{r,g,b}{1,2,b} = (value) r,g,b: color 1: "divisor 1", lower = more influence, higher = less noticable; general range 1-10 2: "divisor 2" (divisor will be random between these values) b: bonus: color will always have this added in to the base value Just experiment. Defaults (auto-used if not specified): r1, g1: 2 r2, g2: 4 b1: 1 b2: 3 rb: 10 gb: 10 bb: 100 ____________________ I dealt with it. |
Koitenshin -∞ |
| ||
Happy Hour! Level: 81 Posts: 998/1556 EXP: 4850495 Next: 142354 Since: 03-25-07 Last post: 2679 days Last view: 2677 days |
How about something a little less girly as far as colors go. Anything not pastel for example. ____________________ What FF7: Advent Children Character Are You? |
Xkeeper |
| ||
Level: 105 Posts: 1610/2846 EXP: 12031162 Next: 231098 Since: 02-19-07 Last post: 6063 days Last view: 2800 days |
Posted by Koitenshin +∞Come here so I can strangle you. ____________________ I dealt with it. |
Koitenshin -∞ |
| ||
Happy Hour! Level: 81 Posts: 999/1556 EXP: 4850495 Next: 142354 Since: 03-25-07 Last post: 2679 days Last view: 2677 days |
No because the moment I step into the IRC channel it will say "booted by laptuna (GENERIC KICK MESSAGE)" ____________________ What FF7: Advent Children Character Are You? |
Xkeeper |
| ||
Level: 105 Posts: 1611/2846 EXP: 12031162 Next: 231098 Since: 02-19-07 Last post: 6063 days Last view: 2800 days |
Really, though, ifi you think blue is girly,there is something wrong with you ____________________ I dealt with it. |
Koitenshin -∞ |
| ||
Happy Hour! Level: 81 Posts: 1001/1556 EXP: 4850495 Next: 142354 Since: 03-25-07 Last post: 2679 days Last view: 2677 days |
I see a majority of purple here. Not blue. Perhaps toss in some darker colors like maroon and black. Yes I am morbid, sue me. ____________________ What FF7: Advent Children Character Are You? |
Hiryuu |
| ||
Done. Level: 79 Posts: 457/1471 EXP: 4470645 Next: 108822 Since: 02-19-07 From: ??? Last post: 6089 days Last view: 6082 days |
BLARGH I NEED CADMIUM RED HURRR |
Xkeeper |
| ||
Level: 105 Posts: 1612/2846 EXP: 12031162 Next: 231098 Since: 02-19-07 Last post: 6063 days Last view: 2800 days |
The "purple" is just from white + blue, there's very little red added at all ____________________ I dealt with it. |
Tyty |
| ||
Vire Jizz Danmaku Level: 77 Posts: 55/1381 EXP: 4047009 Next: 144120 Since: 04-20-07 From: Canada Last post: 4450 days Last view: 3722 days |
Thats awesome, I like how it's always random, I could pull off the effect in photoshop, but it would never be as cool as this, randomness is awesome, plus you did this with PHP! ____________________ |
Main - Modern Art - Squares | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 42, rows: 70/71, time: 0.016 seconds. |