加入VIP
  • 专属下载特权
  • 现金文档折扣购买
  • VIP免费专区
  • 千万文档免费下载

上传资料

关闭

关闭

关闭

封号提示

内容

首页 Getting.Started.with.Processing

Getting.Started.with.Processing.pdf

Getting.Started.with.Processing

Piment
2011-02-24 0人阅读 举报 0 0 暂无简介

简介:本文档为《Getting.Started.with.Processingpdf》,可适用于IT/计算机领域

AdvancePraiseforGettingStartedwithProcessing“Makingacomputerprogramusedtobeaseasyasturningitonandtypingoneortwolinesofcodetogetittosay,‘Hello’NowittakesapagemanualandanentirevillageNotanymoreThislittlebookbyBenandCaseygetsyoucomputationallydrawinglines,triangles,andcircleswithinminutesofclickingthe‘download’buttonThey’vemademakingcomputerprogramshumanlyandhumanelypossibleagainandthat’snosmallfeat”JohnMaeda,PresidentofRhodeIslandSchoolofDesign“GettingStartedwithProcessingisnotonlyastraightforwardintroductiontobasicprogrammingit’sfun!ItalmostfeelslikeanactivityworkbookforgrownupsYoumaywanttobuyitevenifyouneverthoughtyouwereinterestedinprogramming,becauseyouwillbe“MarkAllen,FounderandDirector,MachineProject“ThisisanexcellentprimerforthosewantingtodiptheirfeetintoprogramminggraphicsItslearningbydoingapproachmakesitparticularlyappropriateforartistsanddesignerswhoareoftenputoffbymoretraditionaltheoryfirstapproachesThepriceofthebookandthefactthattheProcessingenvironmentisopensourcemakesthisanexcellentchoiceforstudents“GillianCramptonSmith,FondazioneVeneziaProfessorofDesign,IUAVUniversityofVenice“Processingchangeddramaticallythewayweteachprogrammingandit’soneofthemajorfactorsofthesuccessofArduino”MassimoBanzi,CofounderofArduino“CaseyReasandBenFrychampiontheexcitingpowerofprogrammingforcreativesinGettingStartedwithProcessing,ahandsonguideformakingcodebaseddrawingsandinteractivegraphicsReasandFryareclearanddirect,butasartists,they’renotafraidtobeabiteccentricandoffbeatThismakestheiruniqueformofteachingpowerful”HollyWillis,DirectorofAcademicPrograms,InstituteforMultimediaLiteracy,SchoolofCinematicArts,USCGettingStartedwithProcessingCaseyReasandBenFryFromlibraryofWow!eBookGettingStartedwithProcessingbyCaseyReasandBenFryCopyright©CaseyReasandBenFryAllrightsreservedPrintedintheUnitedStatesofAmericaPublishedbyO’ReillyMedia,IncGravensteinHighwayNorth,Sebastopol,CAO’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluseOnlineeditionsarealsoavailableformosttitles(http:mysafaribooksonlinecom)Formoreinformation,contactourcorporateinstitutionalsalesdepartment:orcorporateoreillycomPrintHistory:June:FirstEditionEditor:BrianJepsonDevelopmentEditor:TomSgourosProductionEditor:RachelMonaghanCopyeditor:NancyKotaryProofreader:RachelMonaghanCompositor:NancyKotaryIndexer:RonStraussIllustrations:CaseyReasandBenFryCoverDesigner:KarenMontgomeryTheO’ReillylogoisaregisteredtrademarkofO’ReillyMedia,IncTheMake:ProjectsseriesdesignationsandrelatedtradedressaretrademarksofO’ReillyMedia,IncThetrademarksofthirdpartiesusedinthisworkarethepropertyoftheirrespectiveownersManyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarksWherethosedesignationsappearinthisbook,andO’ReillyMedia,Incwasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcapsWhileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedhereinISBN:MFromlibraryofWow!eBookContentsvContentsPrefaceviiHelloSketchingandPrototypingFlexibilityGiantsFamilyTreeJoinInStartingtoCodeYourFirstProgramShowSaveShareExamplesandReferenceDrawBasicShapesDrawingOrderShapePropertiesColorCustomShapesCommentsRobot:DrawVariablesMakingVariablesProcessingVariablesALittleMathRepetitionRobot:VariablesResponseFollowMapClickLocationTypeRobot:ResponseFromlibraryofWow!eBookviContentsMediaImagesFontsShapesRobot:MediaMotionSpeedandDirectionTweeningRandomTimersCircularTranslate,Rotate,ScaleRobot:MotionFunctionsFunctionBasicsMakeaFunctionReturnValuesRobot:FunctionsObjectsClassesandObjectsRobot:ObjectsArraysMakeanArrayRepetitionandArraysArraysofObjectsRobot:ArraysExtendDImageExportHelloArduinoCommunityACodingTipsBDataTypesCOrderofOperationsDVariableScopeIndexFromlibraryofWow!eBookviiPrefaceWecreatedProcessingtomakeprogramminginteractivegraphicseasierWewerefrustratedwithhowdifficultitwastowritethistypeofsoftwarewiththeprogramminglanguagesweusuallyused(CandJava)andwereinspiredbyhowsimpleitwastowriteinterestingprogramswiththelanguagesofourchildhood(LogoandBASIC)WeweremostinfluencedbyDesignByNumbers(DBN),alanguagecreatedbyourresearchadvisor,JohnMaeda,whichweweremaintainingandteachingatthetimeProcessingwasborninspringasabrainstormingsessiononasheetofpaperOurgoalwastomakeawaytosketch(prototype)thetypeofsoftwarewewereworkingon,whichwasalmostalwaysfullscreenandinteractiveWeweresearchingforabetterwaytotestourideaseasilyincode,ratherthanjusttalkingaboutthemorspendingtoomuchtimeprogrammingtheminCOurothergoalwastomakealanguageforteachingdesignandartstudentshowtoprogramandtogivemoretechnicalstudentsaneasierwaytoworkwithgraphicsThecombinationisapositivedeparturefromthewayprogrammingisusuallytaughtWebeginbyfocusingongraphicsandinteractionratherthanondatastructuresandtextconsoleoutputProcessingexperiencedalongchildhooditwasalphasoftwarefromAugusttoAprilandthenpublicbetasoftwareuntilNovemberDuringthistime,itwasusedcontinuouslyinclassroomsandbythousandsofpeoplearoundtheworldThelanguage,softwareenvironment,andpedagogyaroundtheprojectwererevisedcontinuouslyFromlibraryofWow!eBookviiiPrefaceduringthistimeManyofouroriginaldecisionsaboutthelanguagewerereinforcedandmanywerechangedWedevelopedasystemofsoftwareextensions,calledlibraries,thathaveallowedpeopletoexpandProcessingintomanyunforeseenandamazingdirections(Therearenowoverlibraries)OnNovember,,welaunchedtheversionofthesoftwareAftersevenyearsofwork,thelaunchsignifiedstabilityforthelanguageNow,nineyearsafteritsorigin,Processinghasgrownbeyonditsoriginalgoals,andwe’velearnedhowitcanbeusefulinothercontextsAccordingly,thisbookiswrittenforanewaudiencecasualprogrammers,hobbyists,andanyonewhowantstoexplorewhatProcessingcandowithoutgettinglostinthedetailsofahugetextbookWehopeyou’llhavefunandbeinspiredtocontinueprogrammingThisbookisjustthestartWhilewe(CaseyandBen)havebeenguidingtheProcessingshipthroughthewatersforthelastnineyears,wecan’toverstatethatProcessingisacommunityeffortFromwritinglibrariesthatextendthesoftwaretopostingcodeonlineandhelpingotherslearn,thecommunityofpeoplewhouseProcessinghaspusheditfarbeyonditsinitialconceptionWithoutthisgroupeffort,ProcessingwouldnotbewhatitistodayHowThisBookIsOrganizedThechaptersinthisbookareorganizedasfollows:»Chapter,“Hello”:LearnaboutProcessing»Chapter,“StartingtoCode”:CreateyourfirstProcessingprogram»Chapter,“Draw”:Defineanddrawsimpleshapes»Chapter,“Variables”:Store,modify,andreusedata»Chapter,“Response”:Controlandinfluenceprogramswiththemouseandthekeyboard»Chapter,“Media”:Loadanddisplaymediaincludingimages,fonts,andvectorfiles»Chapter,“Motion”:MoveandchoreographshapesFromlibraryofWow!eBookPrefaceix»Chapter,“Functions”:Buildnewcodemodules»Chapter,“Objects”:Createcodemodulesthatcombinevariablesandfunctions»Chapter,“Arrays”:Simplifyworkingwithlistsofvariables»Chapter,“Extend”:LearnaboutD,imageexport,andreadingdatafromanArduinoboardWhoThisBookIsForThisbookiswrittenforpeoplewhowantacasualandconciseintroductiontocomputerprogramming,whowanttocreateimagesandsimpleinteractiveprogramsIt’sforpeoplewhowantajumpstartonunderstandingthethousandsoffreeProcessingcodeexamplesandreferencematerialsavailableonlineGettingStartedwithProcessingisnotaprogrammingtextbookasthetitlesuggests,itwillgetyoustartedIt’sforteenagers,hobbyists,grandparents,andeveryoneinbetweenThisbookisalsoappropriateforpeoplewithprogrammingexperiencewhowanttolearnthebasicsofinteractivecomputergraphicsGettingStartedwithProcessingcontainstechniquesthatcanbeappliedtocreatinggames,animation,andinterfacesConventionsUsedinThisBookThefollowingtypographicalconventionsareusedinthisbook:»Italic:Usedtoindicatenewtermsandfilenames,aswellaswithinparagraphstorefertoprogramelementssuchasvariableorfunctionnames,datatypes,andkeywords»Constantwidth:UsedforprogramlistingsNOTE:ThistypeofparagraphsignifiesageneralnoteFromlibraryofWow!eBookxPrefaceUsingCodeExamplesThisbookisheretohelpyougetyourjobdoneIngeneral,youmayusethecodeinthisbookinyourprogramsanddocumentationYoudonotneedtocontactusforpermissionunlessyou’rereproducingasignificantportionofthecodeForexample,writingaprogramthatusesseveralchunksofcodefromthisbookdoesnotrequirepermissionSellingordistributingaCDROMofexamplesfromO’ReillybooksdoesrequirepermissionAnsweringaquestionbycitingthisbookandquotingexamplecodedoesnotrequirepermissionIncorporatingasignificantamountofexamplecodefromthisbookintoyourproduct’sdocumentationdoesrequirepermissionWeappreciate,butdonotrequire,attributionAnattributionusuallyincludesthetitle,author,publisher,andISBNForexample:“GettingStartedwithProcessing,byCaseyReasandBenFryCopyright

用户评价(1)

关闭

新课改视野下建构高中语文教学实验成果报告(32KB)

抱歉,积分不足下载失败,请稍后再试!

提示

试读已结束,如需要继续阅读或者下载,敬请购买!

文档小程序码

使用微信“扫一扫”扫码寻找文档

1

打开微信

2

扫描小程序码

3

发布寻找信息

4

等待寻找结果

我知道了
评分:

/41

Getting.Started.with.Processing

仅供在线阅读

VIP

在线
客服

免费
邮箱

爱问共享资料服务号

扫描关注领取更多福利