TinyRC.com - XMODS, XMOD, Micro Flight, ZipZaps, ZipZaps SE, Bit Char-G, MicroSizers, TTTT, Plantraco Desktop Rover, SuperSlicks, Digi Q, Forums, News, Pictures, Parts, and Shop
Forums, XMODS, XMOD, Micro Flight, ZipZaps, ZipZaps SE, Bit Char-G, MicroSizers, TTTT, Plantraco Desktop Rover, SuperSlicks, Digi Q
XMODS Hop-Ups, XMODS Parts, XMOD Hop-Ups, XMOD Parts, Bit Char-G Hop-Ups, Bit Char-G Parts, MicroSizers Hop-Ups, MicroSizers Parts

Go Back   TinyRC.com > Miscellaneous Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2004, 03:08 PM
rallger's Avatar
rallger rallger is offline
switcher
 
Join Date: Dec 2002
Posts: 66
Send a message via AIM to rallger
java flower

public class FlowerMaker extends Turtle
{
// Draw two flowers each 60 pixels tall.
// Start and end facing east at the base of the left flower.

public void drawTwoFlowers()
{ drawFlower();
move (90, 61);
drawFlower();
move (90, -59);
} //======================


// Start facing east at the base of the flower, right side.
// End facing south at the base of the flower, center.

public void drawFlower()
{ paint (90, 50); // right side of stem
paint (90, 2);
paint (90, 50); // left side of stem
paint (90, 1);

paint (90, 5); // one-fourth of the way up the stem
paint (-45, 8); // draw the twig for the right leaf
drawLeaf();

paint (45, 5); // one-half of the way up the stem
paint (45, 8); // draw the twig for the left leaf
drawLeaf();


paint (-45, 5); // one-fourth of the way up the stem
paint (-45, 8); // draw the twig for the right leaf
drawLeaf();

paint (45, 5); // one-half of the way up the stem
paint (45, 8); // draw the twig for the left leaf
drawLeaf();



paint (-45, 30); // to top of stem, in the center
switchTo (RED);
fillCircle (5); // draw the flower petals

switchTo (BLUE);
move(0,10);
fillCircle (5); // draw the flower petals
move(-120,10);
fillCircle (5); // draw the flower petals
move(-60,10);
fillCircle (5); // draw the flower petals
move(-60,10);
fillCircle (5); // draw the flower petals
move(-60,10);
fillCircle (5); // draw the flower petals
move(-60,10);
fillCircle (5);// draw the flower petals
move(-60,10);




switchTo (BLACK);
move (-120 , 60); // return to the base of the flower
} //======================


// Draw one leaf on one flower.

public void drawLeaf()
{ switchTo (GREEN);
fillCircle (3);
move (0, 3);
fillCircle (2);
move (0, 2);
fillCircle (1);
move (0, -13);
switchTo (BLACK);
} //======================
}
__________________
what if the hokey pokey really is what its all about?
Reply With Quote
  #2  
Old 02-03-2004, 06:48 PM
pacificwarriors's Avatar
pacificwarriors pacificwarriors is offline
MY ENZO!!!!!!
 
Join Date: Oct 2003
Location: Raleigh, NC
Posts: 264
ok is this 1 of those things that you draw on a graph i wanna try it
__________________
"Paul if you flipped the on switch, your xmod would work."

"What would you do for a Klondike Bar."
Reply With Quote
Reply

Bookmarks


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


All times are GMT -5. The time now is 10:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Mini Inferno Sale - Up to $85 Instant Savings!
Micro-T Hop-Ups
RC18R, M18, Micro RS4, Mini-LST, TamTech-Gear, Minizilla, RC18T, RC18B, RC18MT
shop.tinyrc.com Products
Tiny RC Community News
[03/17/10] Kyosho Mini-Z F1 MF-010 SP2... : The Kyosho Mini-Z F1 MF-010 SP2 Carbon Limited ASF 2.4GHz Tx-Less Chassis Set - more»
[10/23/09] Kyosho Mini-Z MR-03 In Stock! : The Mini-Z MR-03 (http://mr-03.com) is now In Stock and Pre-Orders are shipping! - more»
[09/06/09] Labor Day Savings - $5 Off... : Labor Day traditionally marks the unofficial end of summer - but we're not ready to let go! So, we - more»
Mini-Z, Mini-Z Racer, MR-02, MA-010
M18, M18T, RC18T, Mini-LST, Mini-T, Micro RS4, XRay, 1/18, 18th scale
XMODS, XMOD, Micro Flight, ZipZaps, ZipZaps SE, Bit Char-G, MicroSizers, TTTT, Plantraco Desktop Rover, SuperSlicks, Digi Q
Mini Inferno, Mini Inferno ST, half EIGHT, 1/16, 16th scale
Epoch, Indoor Racer, 1/43, 43rd scale
E-Savage, eSavage, eZilla, e-Zilla, HPI
Robots, Bots, Bipeds, Wheeled, Manoi, Roomba, NXT, Lego, Hacking
Crawling, Crawlers, Micro, RC, Losi Mini-Rock Crawler, Duratrax Cliff Climber
Kyosho Minium, Caliber 120, Minium Forums
Mini-Z Hop-Ups, Mini-Z Parts, Mini Inferno Hop-Ups, Mini Inferno Parts, M18 Hop-Ups, M18 Parts