Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crow pet.md #5

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
351 changes: 78 additions & 273 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,278 +1,83 @@
![](Penguin.JPG)
Virtual Pet
=============
void setup()
{
size(400,250);
}

In this project you will write a program using [Processing](https://processing.org) that displays any animal of your choosing. You can use almost any drawing functions that you would like, you can find the full list at the [Processing Reference](https://processing.org/reference) (See note below). Your program will need to be divided into at least two functions `void setup()` and `void draw()`. You may find slides of the [apjavaProcessing slide presentation](https://docs.google.com/presentation/d/1sqbareaFmF9fMcp0XOl3hRO6hAlrU5WIaj4V-Kd3eDI/edit?usp=sharing) helpful.
void draw()
{

When you are happy with the appearance of your virtual pet, you will post your finished program on a website. You can get a free [GitHub](https://github.com) account for your website. Instructions on how to put your program on a GitHub website are on slides 73-86 of the [apjavaProcessing slide presentation](https://docs.google.com/presentation/d/1sqbareaFmF9fMcp0XOl3hRO6hAlrU5WIaj4V-Kd3eDI/edit?usp=sharing). Submit the link to your website on google classroom.
translate(-60,0);

In the next assignment we will [use an Arduino to interact with your virtual pet](https://github.com/APCSLowell/LightSensorController#use-an-adafruit-circuit-playground-as-an-input-device-in-a-processing-program). As you work on your design, think about an element of the design that could be changed with a single variable.
//branch
stroke(130,70,0);
strokeWeight(50);
line(180,250,400,200);
//moss
stroke(130,137,20);
strokeWeight(20);
line(200,230,330,200);

Note: The following Processing functions do not work on the web:
----------------------------------------------------------
+ `circle()`
+ `square()`
+ `clear()`
+ `delay()`
+ `System.out.println()`
+ `System.out.print()`
+ `push()` and `pop()`
+ Using `CHORD` or `PIE` modes with `arc()`
+ Using an image as an argument in `background()`
+ Arduino code
stroke(130,150,55);
strokeWeight(10);
line(230,235,300,219);

Samples of Student Work
-----------------------
[Johnny](https://jlin202.github.io/VirtualPet/)
[Tiffany](https://tiffanyt11.github.io/VirtualPet/)
[Nash](https://moonnash.github.io/VirtualPet/)
[Max](https://max-2023.github.io/VirtualPet/)
[Kaitlin](https://kaiyenpepper.github.io/VirtualPet/)
[Zoey](https://zoeyzhu.github.io/VirtualPet/)
[Federico](https://feaprile.github.io/VirtualPet/)
[Jocelyn](https://jxcelynyu.github.io/VirtualPet/)
[Eric](https://erchan3.github.io/VirtualPet/)
[Koey](https://koeychan.github.io/VirtualPet/)
[Chun Ho](https://chchen4.github.io/VirtualPet/)
[Curtis](https://curtischen1.github.io/VirtualPet/)
[Kenny](https://kennych13.github.io/VirtualPet/)
[Pansy](https://pakuang.github.io/VirtualPet/)
[Alison](https://apcsci.github.io/VirtualPet/)
[Nikhita](https://nilaw5.github.io/VirtualPet/)
[Keneth](https://kenethl.github.io/VirtualPet/)
[Tiffany](https://tilouie2.github.io/VirtualPet/)
[Jimmy](https://jimmy1433223.github.io/VirtualPet/)
[Caeron](https://canguyen1.github.io/VirtualPet/)
[Sam](https://samrosenblum415.github.io/VirtualPet/)
[Tyler](https://ty237.github.io/VirtualPet/)
[Albert](https://alshi31.github.io/VirtualPet/)
[Gabriella](https://gabriellasu.github.io/VirtualPet/)
[Michelle](https://mitan4.github.io/VirtualPet/)
[Alex](https://alexhackathon.github.io/VirtualPet/)
[Viva](https://vivavoong.github.io/VirtualPet/)
[Karina](https://kaanders17.github.io/VirtualPet/)
[Bruno](https://bruno-415.github.io/VirtualPet/)
[Damian](https://dabogdon.github.io/VirtualPet/)
[Paolo](https://paolo415.github.io/VirtualPet/)
[William](https://wicao1.github.io/VirtualPet/)
[Alvin](https://alchan6.github.io/VirtualPet/)
[Christina](https://christina88chan.github.io/VirtualPet/)
[Haden](https://hachan-beep.github.io/VirtualPet/)
[Joanne](https://joannechenn.github.io/VirtualPet/)
[Irisa](https://irisac415.github.io/VirtualPet/)
[Christopher](https://chgee.github.io/VirtualPet/)
[Kumiko](https://kukomori.github.io/VirtualPet/)
[Wing](https://wilai3.github.io/VirtualPet/)
[Caitlyn](https://calam1818.github.io/VirtualPet/)
[Breanna](https://brlau6.github.io/VirtualPet/)
[Matthew](https://malee8.github.io/VirtualPet/)
[Ye](https://yejinl12.github.io/VirtualPet/)
[Van](https://vanthebot.github.io/VirtualPet/)
[Joyce](https://joycema212.github.io/VirtualPet/)
[Joshua](https://jopaza21.github.io/VirtualPet/)
[Edward](https://edpilotte.github.io/VirtualPet/)
[Aiden](https://aidenshiu.github.io/VirtualPet/)
[Justin](https://jushiu.github.io/VirtualPet/)
[Andrew](https://antan2.github.io/VirtualPet/)
[Jeffrey](https://jethidacoder.github.io/VirtualPet/)
[Dylan](https://dy-alt.github.io/VirtualPet/)
[Mira](https://mira16-v.github.io/VirtualPet/)
[Austin](https://auwong1.github.io/VirtualPet/)
[Jason](https://jawong32.github.io/VirtualPet/)
[Ivana](https://ivxu24.github.io/VirtualPet/)
[Gary](https://gary055.github.io/VirtualPet/)
[Emily](https://emyip.github.io/VirtualPet/)
[William](https://williamsgithubaccount.github.io/VirtualPet/)
[Stephen](https://stevenmeap.github.io/VirtualPet/)
[Daniel](https://wood09.github.io/VirtualPet/)
[Lilia](https://liliaching.github.io/VirtualPet/)
[Andrew](https://guppies23456.github.io/VirtualPet/)
[Luke](https://luked808.github.io/VirtualPet/)
[Liam](https://ligiraldo.github.io/VirtualPet/)
[Hayden](https://hakwok.github.io/VirtualPet/)
[Jacob](https://jalambert.github.io/VirtualPet/)
[Nikhita](https://nilaw5.github.io/VirtualPet/)
[Noella](https://noellalee1.github.io/VirtualPet/)
[Caleb](https://caleung3.github.io/Snowman/)
[Gabriel](https://galeung24.github.io/VirtualPet/)
[Eric](https://erliao137.github.io/VirtualPet/)
[Joyce](https://joliu8.github.io/VirtualPet/)
[Vivian](https://vivianmak.github.io/VirtualPet/)
[Lexian](https://lexiannguyen.github.io/VirtualPet/)
[Raina](https://raina449.github.io/VirtualPet/)
[Rafael](https://iamrafaelllll.github.io/VirtualPet/)
[Nathaniel](https://nathantjong.github.io/VirtualPet/)
[Nicholas](https://nireiss.github.io/VirtualPet/)
[Brian](https://brsen.github.io/VirtualPet/)
[Stella](https://stellasit0.github.io/VirtualPet/)
[Wendy](https://lafmj.github.io/VirtualPet/)
[Joseph](https://josephteng.github.io/VirtualPet/)
[Joshua](https://jovegher.github.io/VirtualPet/)
[Brianna](https://brwong8.github.io/VirtualPet/)
[Justin](https://justin-pyth.github.io/VirtualPet/)
[Qiao Yan](https://qiaoyanx.github.io/VirtualPet/)
[Antonio](https://antonio-yap1.github.io/VirtualPet/)
[Caden](https://cayeung1.github.io/VirtualPet/)
[Tommy](https://toyu3.github.io/VirtualPet/)
[David](https://davidzhang3.github.io/VirtualPet/)
[Darren](https://darrenzhao1.github.io/VirtualPet/)
[Huishan](https://huishancai.github.io/VirtualPet/)
[Brennan](https://brennan-c.github.io/VirtualPet/)
[Jennifer](https://jennifer0525.github.io/VirtualPet/)
[Deion](https://deionchaudhary.github.io/Panda/)
[Aaron](https://aaronnchen.github.io/VirtualPet/)
[Jackie](https://jachen16.github.io/VirtualPet/)
[Christina](https://chchung1.github.io/VirtualPet/)
[Joselino](https://joselinodt.github.io/VirtualPet/)
[Nathan](https://naguan1.github.io/VirtualPet/)
[Munkhtushie](https://tushigitgel.github.io/VirtualPet/)
[Kyle](https://kylam1.github.io/VirtualPet/)
[Noelle](https://noellelam.github.io/VirtualPet/)
[Andy](https://andeey3.github.io/VirtualPet/)
[Audrey](https://audreylau8.github.io/VirtualPet/)
[William](https://williamlaw2005.github.io/VirtualPet/)
[Jenna](https://jenna1910.github.io/VirtualPet/)
[Ryan](https://chknwngs999.github.io/VirtualPet/)
[Nathan](https://naleung1.github.io/VirtualPet/)
[Ivy](https://ivyylin.github.io/VirtualPet/)
[Gabriel](https://gabriel-low-06.github.io/VirtualPet/)
[Joyce](https://joycema212.github.io/VirtualPet/)
[Pyry](https://pyrym24.github.io/VirtualPet/)
[Mika](https://mikanguyenn.github.io/VirtualPet/)
[Sophia](https://sophiapeckner.github.io/VirtualPet/)
[Ethan](https://etqiu.github.io/VirtualPet/)
[Nate](https://nsirival.github.io/VirtualPet/)
[Eric](https://desolaterakan.github.io/VirtualPet/)
[Koen](https://koendwong.github.io/VirtualPet/)
[Annie](https://anxu9.github.io/VirtualPet/)
[Brayden](https://b-r-4-y-d-3-n.github.io/VirtualPet/)
[Jason](https://jasonzhong3.github.io/VirtualPet/)
[Ivan](https://ivzhu1.github.io/VirtualPet/)
[Tobias](https://tobyzuercher.github.io/VirtualPet/)
[Manuel](https://manuelalcaz101.github.io/VirtualPet/)
[Willa](https://willaandrade.github.io/VirtualPet/)
[James](https://jamesbackstrom43.github.io/VirtualPet/)
[Kathleen](https://kathb3.github.io/VirtualPet/)
[Juan](https://jucalvohuerta.github.io/VirtualPet/)
[Toby](https://tobyjchan.github.io/VirtualPet/)
[Ryan](https://rchen0902.github.io/VirtualPet/)
[Ryan](https://rychick.github.io/VirtualPet/)
[Evangeline](https://evchien.github.io/VirtualPet/)
[Miriam](https://mifreedman.github.io/VirtualPet/)
[Ethan](https://periodicethanox.github.io/VirtualPet/)
[Loren](https://l0rengigi123.github.io/VirtualPet/)
[Sally](https://l0rengigi123.github.io/VirtualPet/)
[Tennyson](https://tehuang1.github.io/VirtualPet/)
[Allynaraizel](https://allynaj.github.io/VirtualPet/)
[Alvin](https://allau1.github.io/VirtualPet/)
[Sonia](https://sonia-who.github.io/VirtualPet/)
[AndreiRock](https://anliterato.github.io/VirtualPet/)
[Maxwell](http://maxapcs.github.io/VirtualPet)
[Humphrey](https://humphreyylu.github.io/VirtualPet/)
[Hannah](https://hannahlucas987.github.io/VirtualPet/)
[Piero](https://piero-lujan-pedreschi.github.io/VirtualPet/)
[Fiona](https://f-iona.github.io/VirtualPet/)
[Isaac](https://isaacmai.github.io/VirtualPet/)
[Karla](https://karla0311.github.io/Virtual-Pet/)
[Saw](https://sawyn01.github.io/VirtualPet/)
[Aiden](https://aip24.github.io/VirtualPet/)
[Theo](https://jssuperior.github.io/VirtualPet/)
[Gage](https://gschopen.github.io/VirtualPet/)
[Tara](https://tara-tiong.github.io/VirtualPet/)
[Maya](https://mawang4.github.io/VirtualPet/)
[Dylan](https://dylanwei1.github.io/VirtualPet/)
[Nicholas](https://quantalope.github.io/VirtualPet/)
[Samson](https://xusamson8.github.io/VirtualPet/)
[Patrick](https://patyao.github.io/VirtualPet/)
[Diego](https://diegoyuhuang.github.io/VirtualPet/)
[Luca](https://luca321222.github.io/VirtualPet/)
[Cuiyin](https://anna-c2.github.io/VirtualPet/)
[Laura](https://lachen2.github.io/VirtualPet/)
[Noel](https://nochen1.github.io/VirtualPet/)
[Yiyuan](https://2005benchen.github.io/VirtualPet/)
[Artiom](https://lilrussian.github.io/VirtualPet/)
[Marina](https://mderisi.github.io/VirtualPet/)
[Julissa](https://judiaz1.github.io/VirtualPet/)
[Kevin](https://smallkedo.github.io/VirtualPet/)
[Samantha](https://sagee1.github.io/VirtualPet/)
[Charlotte](https://ssrendiptiy.github.io/VirtualPetTurtle/)
[Dylan](https://dylanh8.github.io/VirtualPet/)
[Omar](https://0marr.github.io/VirtualPet/)
[Joanna](https://2sekai.github.io/VirtualPet/)
[Victor](https://vi-l.github.io/VirtualPet/)
[Ivan](https://ivli1.github.io/VirtualPet/)
[Kaijun](https://kawaiikai.github.io/VirtualPet/)
[Michelle](https://michelle4570.github.io/VirtualPet/)
[Kyle](https://kyle-v420.github.io/VirtualPet/)
[Mackenzie](https://mackenzieluk.github.io/VirtualPet/)
[Douglas](https://douglw.github.io/VirtualPet/)
[Daniel](https://danielmarkarov.github.io/VirtualPet/)
[Jerry](https://j3rrrry.github.io/VirtualPet/)
[Rock](https://baoquangu.github.io/VirtualPet/)
[Gage](https://gschopen.github.io/VirtualPet/)
[Angela](https://angieela.github.io/VirtualPet/)
[Diego](https://diegooroyale.github.io/VirtualPet/)
[Ivona](https://ivonasutilovic1.github.io/VirtualPet/)
[Sandy](https://satam2.github.io/VirtualPet/)
[Johnathan](https://jotran6.github.io/VirtualPet/)
[KaloonRidge](https://ridgewalkerschool.github.io/VirtualPet/)
[Robin](https://robin-win.github.io/VirtualPet/)
[Kayla](https://kawong2.github.io/VirtualPet/)
[Justin](https://daqk1.github.io/VirtualPet/)
[Leanna](https://lewu7.github.io/MyVirtualPet/)
[Philix](https://philix.github.io/VirtualPet/)
[Lixin](https://oliveragel.github.io/VirtualPet/)
[Audrey](https://audreyyann.github.io/VirtualPet/)
[Emily](https://emyang1.github.io/VirtualPet/)
[Haoheng](https://haoxd123.github.io/VirtualPet/)
[Gabriel](https://gabrielzub.github.io/VirtualPet/)
[Alejandro](https://alejandrofpv.github.io/VirtualPet/)
[Angela](https://angelachen690.github.io/VirtualPet/)
[Kelvin](https://shibainuinuinu.github.io/VirtualPet/)
[Lily](https://lantom101.github.io/VirtualPet/)
[Aaron](https://hilla99.github.io/VirtualPet/)
[Terrance](https://tehoang-apcsa.github.io/VirtualPet/)
[Jessica](https://jessicah7.github.io/VirtualPet/)
[Grace]()
[Danill](https://hugistaken.github.io/VirtualPet/)
[Matthew](https://matthewlau217.github.io/VirtualPet/)
[Leanna](https://lele452005.github.io/VirtualPet/)
[Andre](https://anlee16.github.io/VirtualPet/)
[Felicia](https://feliciacatlee.github.io/VirtualPet/)
[Andrew](https://andjli.github.io/VirtualPet/)
[Calvin](https://cow-van.github.io/VirtualPet/)
[Aaron](https://aaronluii.github.io/VirtualPet/)
[Justin](https://mintmilktea.github.io/VirtualPet/)
[Kyla](https://kylama.github.io/Virtual-Pet-Dog/)
[Calvin](https://camei3.github.io/VirtualPet/)
[Alessandra](https://alpalange.github.io/VirtualPet/)
[James](https://jameswarr.github.io/VirtualPet/)
[Yuxi](https://dandelioncreek.github.io/VirtualPet/)
[Aaron](https://aatan21.github.io/VirtualPet/)
[Hao](https://haotang2567.github.io/VirtualPet/)
[Katie](https://kawang4.github.io/VirtualPet/)
[Benjamin](https://benwill151.github.io/VirtualPet/)
[Etienne](https://xxxbeastxxx8.github.io/Panda/)
[Matthew](https://matttwongg.github.io/VirtualPet/)
[Wanyan](https://cheesicake.github.io/VirtualPet/)
[Kaitlyn](https://kaitlynzhou.github.io/VirtualPet/)
[Austin](https://aublaylock.github.io/VirtualPet/)
[Tanias](https://tacastanon.github.io/VirtualPet/)
[Evan](https://evanchen-e.github.io/VirtualPet/)
[Xiaoyi](https://jceychen.github.io/VirtualPet/)
[Marie-Fleur](https://marie-fleur.github.io/VirtualPet/)
[Richard](https://richardfongg.github.io/VirtualPet/)
[Supath](https://supathgurung.github.io/VirtualPet/)
[Amy](https://amyhuang4.github.io/VirtualPet/)
[Lisa](https://llisahuang.github.io/VirtualPet/)
[Jeffrey](https://likuang2.github.io/VirtualPet/]
[Garvin](https://garvinkwong.github.io/VirtualPet/)
[Ethan](https://ethan893.github.io/VirtualPet/)
[Ekaterina](https://eklevinton.github.io/VirtualPet/)
[Cole](https://mayamelon.github.io/VirtualPet/)
[Alice](https://alliang1.github.io/VirtualPet/)
[Raymond](https://raymondlui1.github.io/VirtualPet/)
[Susanna](https://susannango1.github.io/VirtualPet/)
[Jocelyn](https://joce7yn.github.io/VirtualPet/)
[Davyn](https://pandasharkkk.github.io/VirtualPet/)
[Francisco](https://frponce.github.io/VirtualPet/)
stroke(130,160,50);
line(330,205,350,200);

//neck
stroke(60,60,60);
line(290,65,250,130);
line(315,80,310,100);
strokeWeight(40);
line(300,80,290,130);
noStroke();

//beak
fill(120,120,120);
rect(310,65,40,10);
triangle(350,63,380,75,335,75);
rect(330,75,45,3);

//legs
triangle(267,176,273,176,290,200);
triangle(242,181,248,181,270,210);
fill(60,60,60);

//chest
rect(265,100,50,30);

//body
triangle(315,129,161,175,290,165);
triangle(265,100,315,100,150,180);
triangle(265,120,315,130,150,180);

//legs
triangle(235,165,255,165,245,185);

//head
ellipse(310,70,60,40);

//back leg
fill(40,40,40);
triangle(260,165,280,165,270,180);

//wing
triangle(300,120,260,100,170,160);

//tail feather
stroke(45,45,45);
strokeWeight(10);
line(182,160,130,190);

noStroke();
//nasal feathers
fill(90,90,90);
rect(330,60,20,5);

//lighting and details
triangle(305,125,280,160,310,130);

//eye
fill(0,0,0);
ellipse(310,65,7,7);
}