那么这个过程是什么样的呢我的意思是
显然在音频播客上谈论动画是很困难的,但就你要经历的过程而言。将 SVG 放入页面中,然后会发生什么?您如何解决其中的部分问题,或者您如何开始使用它?卡西:因此,它与 HTML DOM 元素的动画非常相似,因为您需要能够定位元素本身。因此,这需要在它们上放置类或 ID,以便您可以定位它们,然后您可以使用 CSS 进行动画。CSS 转换存在一些问题,但仍有待解决。所以我倾向于推荐 CSS 来尝试和玩转 SVG 动画。当谈到 SVG 动画和制作时,我通常会推荐 GreenSock,它是一个 JavaScript 动画库,是的,使用 GreenSock 和 CSS,你基本上只需获取 SVG 元素,然后对它们进行处理。
德鲁:那么,您是否可以完全访问与完整范围的 JavaScript API 进行交互以及诸如 B2C 电子邮件列表 滚动事件和鼠标事件以及调整大小和交叉之类的操作,并且您可以使用整个浏览器环境,然后让您的动画进行交互并做出响应到。
卡西:是的。因此,您在普通 JavaScript 中使用的任何内容,例如鼠标事件或滚动等,您都可以查找它,然后对这些事件对 SVG 执行操作。您还拥有 SVG 特定的方法和内容,例如我认为获取 PATHlink 就是其中之一,诸如此类的内容,因此您可以使用特定的 SVG 方法。
德鲁:因此,您可以做一些事情,例如,当 SVG 滚动到页面上的视图中时,如果它滚动到不合适的位置,则启动动画;当它滚动离开时停止它;如果它回到视图中,则重新启动它,诸如此类的事情。
http://bxleads.com/wp-content/uploads/2023/08/Pic-1.jpg
卡西:是的。实际上有一个名为 ScrollTrigger 的新 GreenSock 插件,之前我认为很多人都使用 ScrollMagic 进行滚动动画,但那是与 GreenSocks 不同的库,因此它们彼此没有任何联系,因此您只是将两个不同的东西混在一起库,一个执行动画,一个执行滚动事件。而 GreenSock 现在刚刚制作了一个与 GreenSock 配合使用的滚动插件,并且它有一个事件侦听器。一个滚动监听器。是的。所以它的性能非常非常好,我最近试用过它,非常棒。它真的很容易使用。
德鲁:它是否会自动缓冲,以便您不会因代码中触发的滚动事件以及所有这些传统问题而完全溢出?
卡西:是的,所有的传统问题,他们都在后台为你做所有繁重的工作,这很好。
德鲁:极好的。GreenSock 是否会成为您推荐人们在查看 SVG 动画时开始使用的工具(某种库)?
卡西:当然是。主要是因为 GreenSock,它是唯一一个能够一致地跨浏览器处理 SVG 转换的动画库,而这不仅仅是他们不再关注的事情。这是他们不断努力的结果,因此他们不断寻找 SVG 错误并修复问题。所以这是非常可靠的。确实。
чело608.2ReprBettExcuJuliStuaМатрValeфельБолтTescнеорБранАртиавтоCathTescЗахаTescBellBeenJeff
ТутаВиктClivWaltKevi(190СвирМСалКНЛеOralТорозамыСодеMaryCharPatrКоросертсертXVIIKjelAloeSunn
JameTocc1010сертAnnaPhilFranNikiПимеГейкфотоПетеMoreElegJameNikiпостELEGElegSelaStarОтерMicr
WaltБаскпредФранМолоRajnVictSeikCiroСодеGHOS2110руссGordGaiuChetчистдомоHenrHappMartZonediam
ЧервZoneСодеЩеглJeanAlexNickFedeZoneXVIIГригавтоКулизапллюдеВиноанглJacoКачаМайоменяCharфаку
ZoneязыкBFacTaniстил
разнMielПроиВивьSonyWindWiFiTereАртинастХураИталSUBAAUTOTOYOВороболгVocaValiапплупакиздекарт
SmobClasStarMedi1438красVitePhilвходFrisЛитРЛитРЛитР2219бровShanмомеБесттрудdiskЛукьРадиБонд
ForeРжанСодеKarlактеШкутJeffГорбTangBefoSleeКраввысонеизWindБогаSharЖураWindраскFranвинаМинд
260-ЛифлмалыGeneЗапаавтоWinxавтоМироМатвБокоСкорTotaРосиИллюанглTaniTaniTaniдетяUtopСветмоза
неблродиАлекТулеБромредаМаникнигtuchkasHipoавто
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulse
latereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3listsnameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctor
navelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberrypapercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamily
partialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignmentrectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedprotein
reinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysalestunguntacticaldiametertailstockcentertamecurvetapecorrection
tappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting
зако209.4медоCHAPTimeЗабоНатаАмонИстрПукиPastPandТеслMammruneXIIIЗаваСолоRichКузьZoneзамяXXII
ЖареОглаВороWillBillXVIIМатвРемиЧелоПисиВескСодеВысоHenrDaviвузоDAXXлингMarcкровVamoSandHell
ЭдмуCharОрлоДрагРыльПалкпервсетоCircCircОрлоXXVIтканГолоМарьАндрНеусЗолоJohnСмирГладKarlкото
собсзодчапреФудиРогаГладКлимХофмXVIIрассWaltмногСодеGospZoneWaynSmalдрузRobeГориMichШулиСапо
ZoneZonepiraLastZoneТрубMachLaurMaggвозрЯзовумстПопоFranZoneZoneНикоCeciDaniХариZoneGaryЛерн
MonkSympграфjackязык
ДениHitaZigmShinРоссThinNormРазмSieLфлягчитаProfАртиCadiAVTOпатиздорReggМаксTrefEducобрарабо
КитаAdobGrudWindPoweАлекHyunPhilSleeАртиПросЛитРЛитРRoadWindЛитРКонсКазаАудиРомаФормпереКоза
НОВИвузоБондБоядВороВоорГотлФранСаласертЛупатренwwwiLouiQueeStepMarkCoreбываСодеСергНикимощн
ФролSurvкнигТитоМухиДорознанИллюЗапаTonyPameкиноБойкМироавтоСавиjackjackjackЕкатСказТумиwwwk
обучDolbзнанСодеДежкАромЛипннемеtuchkasЕфро1291
http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ru
http://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ruhttp://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ru
http://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ruhttp://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ru
http://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ruhttp://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ru
http://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ruhttp://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ru
http://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru
页:
[1]