Hamumu Software Hamumu Software Hamumu Software
Name
Password Register
Latest Journal update: Oct 23, 2017

Go Back   Hamumu Forum > General > General Blabber

Reply
 
Thread Tools Display Modes
Old 10-05-2007, 01:42 PM   #1
AtkinsSJ
Legs sold separately.
Moderator
 
AtkinsSJ's Avatar
 
Join Date: Aug 2004
Location: Computers!
Posts: 4,790
Default 'Context Free' - Groovy Art Thingy

Context Free lets you create whizzy-looking arty things using pretty simple code. It's awesome! Linky
Post any cool code here.
This makes a cool Octopus-like thing.
Code:
startshape Octopus

background {b -1}

rule Octopus {
    8* {r 45} Swirl {}
}

rule Swirl {
    150* { size 0.9 x 2 y 1.2 r 10}
        Star { }
}
rule Star {
    6* {r 30 } SQUARE { b 1 }
    CIRCLE { b -1 }
    Star {size 0.5 b 0.5}
}
Just copy and paste it into a new drawing, and click on Render.
__________________
Caution: may contain traces of nuts
AtkinsSJ is offline   Reply With Quote
Old 10-05-2007, 01:45 PM   #2
souperzombie
All your brains belong to me!
 
souperzombie's Avatar
 
Join Date: Aug 2007
Location: I am the terror that lurks in your soup bowl!
Posts: 618
Default Re: 'Context Free' - Groovy Art Thingy

it looks very weird
__________________

Become one of us.
Join the revolution.
souperzombie is offline   Reply With Quote
Old 10-05-2007, 01:47 PM   #3
Mr.Onion
Evil, random-voting vegetable
 
Mr.Onion's Avatar
 
Join Date: Mar 2005
Location: Down at the shore where there's no-one vacationing.
Posts: 4,862
Default Re: 'Context Free' - Groovy Art Thingy

Swiiiirrrlllyly...... :mesmirized:

Anyway, do you know what the swirls are called?
__________________
Mr.Onion is offline   Reply With Quote
Old 10-05-2007, 01:49 PM   #4
souperzombie
All your brains belong to me!
 
souperzombie's Avatar
 
Join Date: Aug 2007
Location: I am the terror that lurks in your soup bowl!
Posts: 618
Default Re: 'Context Free' - Groovy Art Thingy

Umm...Swirls? Bendy Lines? Parts of a shape? A really random name? A really Wierd name?
__________________

Become one of us.
Join the revolution.
souperzombie is offline   Reply With Quote
Old 10-05-2007, 02:21 PM   #5
Julian
Is a ninja
 
Julian's Avatar
 
Join Date: Aug 2005
Location: http://www.nationstates.net/dordinal
Posts: 3,077
Send a message via MSN to Julian
Default Re: 'Context Free' - Groovy Art Thingy

Cool, I'll install it when I finish with VS2005.

Last edited by Julian; 10-05-2007 at 04:06 PM.
Julian is offline   Reply With Quote
Old 10-06-2007, 02:29 AM   #6
AtkinsSJ
Legs sold separately.
Moderator
 
AtkinsSJ's Avatar
 
Join Date: Aug 2004
Location: Computers!
Posts: 4,790
Default Re: 'Context Free' - Groovy Art Thingy

OK, to annotate it:
Code:
startshape Octopus //Tells it to draw 'Octopus' first.

background {b -1} //Makes the background black.

rule Octopus { //The instructions for drawing Octopus.
    8* {r 45} Swirl {} //Draw 8 Swirls, rotating 45 each time.
} // Rotation is in degrees.

rule Swirl { //Instructions to draw Swirl.
    150* { size 0.9 x 2 y 1.2 r 10} //These 2 lines tell it to draw
        Star { } //150 Stars, moving across 2 and up 1.2, then
} //rotating by 10 degrees.

rule Star { //Instructions for Star.
    6* {r 30 } SQUARE { b 1 } //Draw 6 white squares, rotated 30 deg each time.
    CIRCLE { b -1 } //Draw a black circle in the middle.
    Star {size 0.5 } //Recurs, drawing itself again, at half size.
} //Don't worry - it will stop recurring once it's too small to see.
You can write the whole words, or just use letters:
r means rotate
s means size
x means move on x axis.
y means... same, but on y axis.
b is brightness.
__________________
Caution: may contain traces of nuts

Last edited by AtkinsSJ; 10-06-2007 at 02:30 AM.
AtkinsSJ is offline   Reply With Quote
Old 10-06-2007, 09:07 AM   #7
ElMikkino
Certified Bunnay Agent
 
ElMikkino's Avatar
 
Join Date: Jul 2007
Location: Not Kansas
Posts: 1,652
Default Re: 'Context Free' - Groovy Art Thingy

Aaaaahhh! Code! I am allergic!
See?
__________________
When in Rome, drink Romenade.
Toronto Island is the entertainment.- Translation Party
This wonít appear 3D to you unless you cut very precise grooves in your computer monitor. We donít recommend doing that. - GamesRadar
Humility is the mark of a true warrior/cool person
.
ElMikkino is offline   Reply With Quote
Old 10-06-2007, 08:30 PM   #8
Julian
Is a ninja
 
Julian's Avatar
 
Join Date: Aug 2005
Location: http://www.nationstates.net/dordinal
Posts: 3,077
Send a message via MSN to Julian
Default Re: 'Context Free' - Groovy Art Thingy

Code:
startshape Octopus //Tells it to draw 'Octopus' first.

background {b -1} //Makes the background black.

rule Octopus { //The instructions for drawing Octopus.
    8* {r 45} Swirl {} //Draw 8 Swirls, rotating 45 each time.
} // Rotation is in degrees.

rule Swirl { //Instructions to draw Swirl.
    150* { size 0.9 x 2 y 1.2 r 10} //These 2 lines tell it to draw
        Star { } //150 Stars, moving across 2 and up 1.2, then
} //rotating by 10 degrees.

rule Star { //Instructions for Star.
    7* {r 10 s 1.1} SQUARE { b 1 } //Draw 6 white squares, rotated 30 deg each time.
    CIRCLE { b -1 } //Draw a black circle in the middle.
    } //Don't worry - it will stop recurring once it's too small to see.
My version.
Julian is offline   Reply With Quote
Old 10-07-2007, 12:30 PM   #9
Ryuinfinity
Banned
 
Ryuinfinity's Avatar
 
Join Date: Mar 2007
Location: Domefield Centre Mission: Defeat the Zirrons in Chyare Strait.
Posts: 1,045
Default Re: 'Context Free' - Groovy Art Thingy

Those free smilys give you spyware! You should get your computer scanned!
Ryuinfinity is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need no context! Mr.Onion Total Mayhem 1 01-18-2009 04:56 PM
R3 Poll thingy Kerma Total Mayhem 22 10-19-2008 06:36 AM
Random charity thingy! supersilver General Blabber 0 05-04-2008 11:53 AM
Evolution RPG Poll thingy! Connor S. Total Mayhem 0 04-20-2008 06:32 PM
Groovy M C Escher Animation AtkinsSJ General Blabber 7 04-02-2007 07:11 PM


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.
Site Map
Copyright 2017, Hamumu Games Inc.