At 9/13/09 02:17 PM, jmtb02 wrote: I got married yesterday, what are you guys up to this weekend?
Congratulations John! Looks like you had a beautiful wedding! All the best, my man.
At 9/13/09 02:17 PM, jmtb02 wrote: I got married yesterday, what are you guys up to this weekend?
Congratulations John! Looks like you had a beautiful wedding! All the best, my man.
i am currently working on the greatest picture i have ever done.
Sig made by me
Once again i'm falling down a mountain like a metaphor
Here ends another post by the grand master of all things: fluffkomix
At 9/14/09 12:30 AM, fluffkomix wrote: i am currently working on the greatest picture i have ever done.
Too small, who is it?
Animating Explosions
I hate it, how does this look?
At 9/14/09 11:26 AM, Xeptic wrote: Animating Explosions
I hate it, how does this look?
It looks great, a bit different to a lot of explosions ive seen, but thats a good thing :)
Maybe add a few bright sparks that bounce off the floor/wall?
At 9/14/09 11:26 AM, Xeptic wrote: Animating Explosions
I hate it, how does this look?
They are a real pain in the ass. But its looking really good. I always like to add a flash of light at the start of an explosion, and maybe it needs to start off faster. The start of an explosion should be really fast, and everything starts to slow down during the whole thing. Gives it all a little more of a punch.
At 9/13/09 05:50 PM, trig1 wrote: I've recently become obsessed with cellular automata. I've made a wireworld sim, a cyclic automata, an averaging cells one (don't know the real name for that one), and rules 31, 90, and 184. The only big ones I haven't made is Conways Game of Life and Langton's ant.
For an AS3 contest a while back, I made a 3D cellular automaton. The contest was to write something cool in 25 lines on the first frame of a CS4 timeline, so just paste this there and run. Mouse rotates, click to reset
Tom-
/**
* 25-Line ActionScript Contest Entry
*
* Project: 3D Cellular Automaton (Click to reset, move to rotate)
* Author: Tom Vian (thomas.vian07@gmail.com)
* Date: 29 / 11 / 08
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
// 3 free lines! Alter the parameters of the following lines or remove them.
// Do not substitute other code for the three lines in this section
[SWF(width=300, height=300, backgroundColor=0xFFFFFF, frameRate=12)]
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.EXACT_FIT;
// 25 lines begins here!
main(Vector.<Vector.<uint>>([Vector.<uint>([0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]), Vector.<uint>([0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0])]), new Vector.<Bitmap>(), new Vector.<Vector.<Vector.<uint>>>(), Sprite(this.addChild(new Sprite())));
function main(rule:Vector.<Vector.<uint>> = null, planes:Vector.<Bitmap> = null, model2:Vector.<Vector.<Vector.<uint>>> = null, container:Sprite = null, model1:Vector.<Vector.<Vector.<uint>>> = null, tempModel:Vector.<Vector.<Vector.<uint>>> = null, i:int = 0, j:int = 0, k:int = 0, size:uint = 16, gap:uint = 8):void
{
for(model1 = Vector.<Vector.<Vector.<uint>>>([new Vector.<Vector.<uint>>()]); model1.length <= size; model1.push(new Vector.<Vector.<uint>>()))
{
(planes[planes.length] = Bitmap(container.addChild(new Bitmap(new BitmapData(size*gap, size*gap, true, 0))))).transform.matrix3D = new Matrix3D(Vector.<Number>([1,0,0,0,0,1,0,0,0,0,1,0,-size*gap*0.5, -size*gap*0.5, size * 0.5 * gap - gap * (planes.length-1), 1]));
model2.push(new Vector.<Vector.<uint>>());
for(model1[model1.length - 1].push(new Vector.<uint>()); model1[model1.length - 1].length <= size; model1[model1.length - 1].push(new Vector.<uint>()))
{
model2[model1.length - 1].push(new Vector.<uint>());
for(model1[model1.length - 1][model1[model1.length - 1].length-1].push(uint(Math.random()*2)); model1[model1.length - 1][model1[model1.length - 1].length-1].length <= size; model1[model1.length - 1][model1[model1.length - 1].length-1].push(uint(Math.random()*2))) model2[model1.length - 1][model1[model1.length - 1].length-1].push(model1[model1.length - 1][model1[model1.length - 1].length-1][model1[model1.length - 1][model1[model1.length - 1].length-1].length-1]);
}
}
// 8
stage.addEventListener(Event.ENTER_FRAME, act);
function act(e:Event = null):void
{
for(i = 0; i < size; i++)
{
for(j = 0; j < size; j++)
{
for(k = 0; k < size; k++) planes[i].bitmapData.fillRect(new Rectangle(j*gap, k*gap, gap, gap), 0x0F000000 + (0xF0000000) * (model2[i][j][k] = rule[model1[i][j][k]][v(i-1,j-1,k-1) + v(i,j-1,k-1) + v(i+1,j-1,k-1) + v(i-1,j,k-1) + v(i,j,k-1) + v(i+1,j,k-1) + v(i-1,j+1,k-1) + v(i,j+1,k-1) + v(i+1,j+1,k-1) + v(i-1,j-1,k) + v(i,j-1,k) + v(i+1,j-1,k) + v(i-1,j,k) + v(i+1,j,k) + v(i-1,j+1,k) + v(i,j+1,k) + v(i+1,j+1,k) + v(i-1,j-1,k+1) + v(i,j-1,k+1) + v(i+1,j-1,k+1) + v(i-1,j,k+1) + v(i,j,k+1) + v(i+1,j,k+1) + v(i-1,j+1,k+1) + v(i,j+1,k+1) + v(i+1,j+1,k+1)]) + ((0xFF * i / size) << 16));
}
}
tempModel = model2;
model2 = model1;
model1 = tempModel;
}
// 16
function v(i:int, j:int, k:int):uint {return model1[(i+size)&(size-1)][(j+size)&(size-1)][(k+size)&(size-1)];}
stage.addEventListener(MouseEvent.MOUSE_MOVE, changeView);
function changeView(e:MouseEvent = null):void {container.transform.matrix3D = Matrix3D.interpolate(new Matrix3D(Vector.<Number>([0.707,0,0.707,0,0,1,0,0,-0.707,0,0.707,0,stage.stageWidth / 2,stage.stageHeight / 2,-50,1])), new Matrix3D(Vector.<Number>([0.707,0,-0.707,0,0,1,0,0,0.707,0,0.707,0,stage.stageWidth / 2,stage.stageHeight / 2,-50,1])), 0.5 - (stage.mouseX - (stage.stageWidth / 2)) / stage.stageWidth); }
changeView();
// 20
stage.addEventListener(MouseEvent.CLICK, reset);
function reset(e:MouseEvent = null):void
{
for(i = 0; i < size; i++)
{
for(j = 0; j < size; j++)
{
for(k = 0; k < size; k++) model1[i][j][k] = uint(Math.random()*2);
}
}
}
// 25
}
// 25 lines ends here!
At 9/14/09 12:47 PM, The-Super-Flash-Bros wrote: For an AS3 contest a while back, I made a 3D cellular automaton. The contest was to write something cool in 25 lines on the first frame of a CS4 timeline, so just paste this there and run. Mouse rotates, click to reset
hooray for 3d automata. thats pretty cool, but 35 lines by my count
At 9/14/09 01:33 PM, ImpotentBoy2 wrote: hooray for 3d automata. thats pretty cool, but 35 lines by my count
Note the counting guide comments.
Why not write nested fors like:
for(i = 0; i < size; i++)
for(j = 0; j < size; j++)
for(k = 0; k < size; k++)
It's silly that serious contests are governed by metrics like line or character counts. Code size should be measured by counting the nodes in the AST.
I'm sure Toast wants to implement it, right now.
At 9/14/09 01:48 PM, GustTheASGuy wrote: It's silly that serious contests are governed by metrics like line or character counts. Code size should be measured by counting the nodes in the AST.
I dunno, it was fun for the few months it ran. Here's one of my favourite finalists
Plus AST node counts aren't available to most developers, and especially not in Flash CS4, the release of which the contest was promoting
Tom-
At 9/14/09 02:04 PM, The-Super-Flash-Bros wrote: I dunno, it was fun for the few months it ran.
That 3D cellular automata is cool but it's difficult to see what's actually happening.. if I didn't know better I'd say it was almost completely random noise :X
Here's one of my favourite finalists
I've seen some really cool things in that tournament, that's one of the best.. bookmarked :X Would make a fantastic screensaver!
Sup, bitches :)
At 9/12/09 07:07 PM, Glaiel-Gamer wrote: It'd be cool if you could make a flash 10 playback API for it so people could playback the sounds simply based on a short list of parameters, or even "mutate" it on the fly.
I've added a playMutated function to the synth. It plays a slightly mutated version of the sound, but keeps the same settings, so it mutates around the same base sound. Should be cool for giving a little variation to those often repeated sounds
Also added a bunch of useful parameter setting functions, just to make setting up a sound easy. The way I'm using it in my own code to use the app to find a sound, copy the string and paste it into my code as the parameter to setSettingsString.
Tom-
At 9/14/09 01:48 PM, GustTheASGuy wrote:At 9/14/09 01:33 PM, ImpotentBoy2 wrote: hooray for 3d automata. thats pretty cool, but 35 lines by my countNote the counting guide comments.
ya i saw them, i took out all comments, single line for brackets, yada, and got to 35, im sure theres something i'm missing, but what
It's silly that serious contests are governed by metrics like line or character counts. Code size should be measured by counting the nodes in the AST.
huh? wikipleazia
At 9/14/09 02:04 PM, The-Super-Flash-Bros wrote: I dunno, it was fun for the few months it ran. Here's one of my favourite finalists
if that didn't win then the only possible winner i can conceive would be the original star wars procedurally generated in 25 lines of code
At 9/14/09 02:44 PM, ImpotentBoy2 wrote: ya i saw them, i took out all comments, single line for brackets, yada, and got to 35, im sure theres something i'm missing, but what
Brackets weren't counted :)
Tom-
At 9/14/09 12:47 PM, The-Super-Flash-Bros wrote: For an AS3 contest a while back
At 9/14/09 12:47 PM, The-Super-Flash-Bros wrote: For an AS3 contest a while back, I made a 3D cellular automaton.
Only CS3 for little old me. Compiled version anywhere? I'm kinda excited :D
At 9/14/09 04:19 PM, trig1 wrote:At 9/14/09 12:47 PM, The-Super-Flash-Bros wrote: For an AS3 contest a while back, I made a 3D cellular automaton.Only CS3 for little old me. Compiled version anywhere? I'm kinda excited :D
http://spamtheweb.com/ul/upload/140909/8 1939_3D_thingy_by_SFB-Tom.php
At 9/14/09 11:39 AM, Deadclever23 wrote: The Lego Turing Machine is quite cool.
Lego
That could be the coolest thing I've ever seen.
<3
At 9/14/09 04:46 PM, knugen wrote: link
Wow, that's pretty cool, especially for 25 lines.
Patrick Swayze is dead!
At 9/14/09 08:29 PM, Kirk-Cocaine wrote: Patrick Swayze is dead!
http://news.bbc.co.uk/1/hi/world/america s/8256033.stm
just saw that like 15 minutes ago on the news!
Sig made by me
Once again i'm falling down a mountain like a metaphor
Here ends another post by the grand master of all things: fluffkomix
At 9/14/09 08:29 PM, Kirk-Cocaine wrote: Patrick Swayze is dead!
http://news.bbc.co.uk/1/hi/world/america s/8256033.stm
wait just realized i've only ever heard of the movie The Outsiders with him and that was because of a class project.
Don't worry Ponyboy, everything'll be all right
Sig made by me
Once again i'm falling down a mountain like a metaphor
Here ends another post by the grand master of all things: fluffkomix
At 9/14/09 08:39 PM, fluffkomix wrote: wait just realized i've only ever heard of the movie The Outsiders with him and that was because of a class project.
Don't worry Ponyboy, everything'll be all right
The book was great,
but the move was terrible
Stay gold, ponyboy
At 9/14/09 08:29 PM, Kirk-Cocaine wrote: Patrick Swayze is dead!
D'aw, quite a young guy.. only film of his I've seen is Ghost though. I think.
Sup, bitches :)
At 9/14/09 08:49 PM, Magical-Zorse wrote: The book was great,
but the move was terrible
Seconded.
God dammit Dallas.
I'm glad he doesn't have to suffer anymore. If the disease is a lady, then the treatment is a bitch. RIP
lets all watch roadhouse tonight.... in memory
At 9/15/09 01:19 PM, ImpendingRiot wrote: Ghost is one of my biggest guilty pleasures EVER. I watch it whenever it is on TV.
Agree. Also congrats on Daily Feature today :3
None
Yaaaay, I just got my ticket confimation for this years Flash On The Beach. Any of the other UK regs going?
Tom-