Dragon Posted March 30, 2010 Report Share Posted March 30, 2010 Hello, all. I've just been tinkering with a small Flash game that allowed you to randomly generate a 32 x 32 grid of coloured pixels. You can choose the amount of colours it uses, from anywhere between 1 and 10, or you can choose "all colours" and it will choose from any colour with a hex triplet. It may take a few seconds to generate the grid, and choosing between 7 and 10 colours may slow down your computer. I'd recommend 4 or 5 colours, but "all colours" also looks nice and shouldn't take too long. Once you have your grid, click anywhere to go back to the menu. Here are a few screenshots of what it can do: Have fun! I'm considering uploading this to Newgrounds, but I'm not so sure. I've had bad experiences with it before. random pixels.swf 10.9 kB · 21 downloads Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide Dragon's signature Hide all signatures faith <3 Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/ Share on other sites More sharing options...
kaini Posted March 30, 2010 Report Share Posted March 30, 2010 do you have any way of implementing rules about what goes next to what? (ie 'if a pixel is blue, it's neighbours can be of colours x,y, or z. if a pixel is green... etc) Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide kaini's signature Hide all signatures On 5/7/2013 at 11:06 PM, ambermonk said: I know IDM can be extreme On 6/3/2017 at 11:50 PM, ladalaika said: this sounds like an airplane landing on a minefield Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283172 Share on other sites More sharing options...
Dragon Posted March 30, 2010 Author Report Share Posted March 30, 2010 No, I don't think that would be necessary. It's completely random, based on hundreds of uses of Math.Random(). Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide Dragon's signature Hide all signatures faith <3 Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283174 Share on other sites More sharing options...
kaini Posted March 30, 2010 Report Share Posted March 30, 2010 whilst not necessary, you'd be halfway to creating an interesting cellular automata there as opposed to a big pile of boring random Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide kaini's signature Hide all signatures On 5/7/2013 at 11:06 PM, ambermonk said: I know IDM can be extreme On 6/3/2017 at 11:50 PM, ladalaika said: this sounds like an airplane landing on a minefield Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283187 Share on other sites More sharing options...
Guest chax Posted March 30, 2010 Report Share Posted March 30, 2010 great job Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283197 Share on other sites More sharing options...
kaini Posted March 30, 2010 Report Share Posted March 30, 2010 actually; it makes for nice photoshop filters... Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide kaini's signature Hide all signatures On 5/7/2013 at 11:06 PM, ambermonk said: I know IDM can be extreme On 6/3/2017 at 11:50 PM, ladalaika said: this sounds like an airplane landing on a minefield Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283208 Share on other sites More sharing options...
Guest Posted March 30, 2010 Report Share Posted March 30, 2010 you might also want to rethink your randomness AI, it is a bit slow? Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283214 Share on other sites More sharing options...
Guest JW Modestburns Posted March 30, 2010 Report Share Posted March 30, 2010 I'm confused, where do the burns go? Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283217 Share on other sites More sharing options...
Guest Posted March 30, 2010 Report Share Posted March 30, 2010 i'm also confused, how is this a game..? Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283219 Share on other sites More sharing options...
Guest Rabid Posted March 30, 2010 Report Share Posted March 30, 2010 Not to downplay this highly impressive achievement but I could program this in about 30 seconds Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283253 Share on other sites More sharing options...
Dragon Posted March 30, 2010 Author Report Share Posted March 30, 2010 Yeah, but I did it first. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide Dragon's signature Hide all signatures faith <3 Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283308 Share on other sites More sharing options...
Guest Rabid Posted March 30, 2010 Report Share Posted March 30, 2010 or did you...? Are you new to flash? Your next project shoudl be to make an interactive .swf avatar. I've seen several members do it. Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283352 Share on other sites More sharing options...
kaini Posted March 30, 2010 Report Share Posted March 30, 2010 (edited) On 3/30/2010 at 3:45 AM, Dragon said: Yeah, but I did it first. actually, some dude programmed this first in 'how to create a 2-dimensional array the size of the screen, and fill it <character-sized blocks of> OR <with> random numbers, probably using BASIC and nested FOR-NEXT loops', from the manual of whatever computer it was way back when we first moved from mono to more than two colours. Edited March 30, 2010 by kaini Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide kaini's signature Hide all signatures On 5/7/2013 at 11:06 PM, ambermonk said: I know IDM can be extreme On 6/3/2017 at 11:50 PM, ladalaika said: this sounds like an airplane landing on a minefield Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283377 Share on other sites More sharing options...
Guest Posted March 30, 2010 Report Share Posted March 30, 2010 then, on watmm, a discussion about programming ensued. Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283488 Share on other sites More sharing options...
kokoon Posted March 30, 2010 Report Share Posted March 30, 2010 i haven't ... err... opened it, but how can this take A FEW SECONDS??? you using BitmapData? creating separate DisplayObjects? how on earth can it take seconds? :D Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283528 Share on other sites More sharing options...
Guest Fishtank Posted March 30, 2010 Report Share Posted March 30, 2010 cool man Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283688 Share on other sites More sharing options...
Guest Posted March 30, 2010 Report Share Posted March 30, 2010 http://www.youtube.com/watch?v=7yWTQlM1KO8 Quote Link to comment https://forum.watmm.com/topic/54823-coloured-pixel-generator/#findComment-1283720 Share on other sites More sharing options...
Recommended Posts