So I'm gonnawalkaroundwithmyphoneandsomebodytohelpmeoninterviewstudentsandshowprojectsoyoucantuneinforthat.
Ifyoumissit, don't worry, itwillallbearchived, and I alsowillproduce.
Probablythewholelifetimewillprobablyabouttwohours, buttypicallyafterthat's done, I produceabout a 20 minute, kindoflikeedited, compilationhighlightreelof a bunchoftheprojectsbytheway.
Ifyouhaveanyexperiencelife's treatingthatmightthatyoumighthavesometipsforme I'm lookingintocurrentlygetting I haveAh, gimble.
I have a personisgonnahelpmeholdthecamera.
I have a variety, differentmicrophonesthat I'm lookingatusing.
But I'm lookingatgettingoneofthosekitsforMikethatgoeswiththecameraand a handheldthingandallthatsortofstuff.
Soifanybodyhasandexperienceorsomethings, youwanttosuggestthat I getthat I couldgetbetweennowandMonday, letmeknow, thencomingtoyounextThursdayatabout 10:30 a.m. Inthemorning.
Um, I willbedoingmyannualprocessingfoundationholidayTotalbiannual.
I mean, secondannualDiditlastyear, Spurofthemomentlastyear.
I'm a littlebitmoreplannedthisyear, although I don't actuallyhaveanytopicsinmind.
But I amlookingforyoutosuggeststuff.
Solet's let's moveoverherefor a secondif I gotoand I wanttocomebacktothisin a second.
Butif I goto, uhLook, I don't wanttoimportmybookmarks.
Goaway.
Whatever.
If I gotogethubdotcomslashwebsiteslashrainbowtopics, I think I needtorenamethisreport.
Youknowit?
No.
Oh, nocoding.
Traincoating, trainslashrainbowtopics.
Thisis a repositorieswhere I kindofkeep a listofthingsofsuggestionsofthingsthat I mightdoin a videoon a livestream.
So I mean, uh, So I I was I hadthehonorwasluckytogettoactuallymeetDestinatThinkerCon, whichwas a conferencethatheorganized a littlewhilebackinHuntsville, Alabama, and I'vebeenobsessivelytunedintohischanneleversince.
Onthefor a seriousvideo.
I alsowanttoshowinreferencethethreeblueonebrownSirisonfor a serious, whichisalsoexcellent.
Andthat's somethingthat I hadtunedintoquite a whileagoandrewatched.
So I wanttogetstartedwiththatSimonTigerissaying I'm pronouncingKochwrong.
I havepurchased a newukulele, which, ifyoucanstomachyourwaythroughaboutanhourfromnow, ifyou'restillactuallywatchingortwohoursfromnow, I mightactually, Unbox, I hearUnboxingislike a thing.
I'm gonnaopenupmynewukuleleandtryitoutbecause I willbesingingverybadlynextThursday, a codingthemedholidays.
It's really a terribleidea.
Butasyoudonatetothewonderful A nonprofit, theProcessFoundation, So I'm alsolookinginadditiontosuggestionsforholidaythemedcodingchallenges, I'm lookingforyourlyrics, lyricsubmissionsofholidaymusicwithcodinglyrics.
And I had a bunchofthemfromlastyear.
Thankyoutome.
I am C.
M.
Samy, whowrote a wholebunchofthose.
Allright, sothat's what I havetosayNow, Onething I wanttodois I wanttobriefly, before I getstartedwiththefirstcodingchallenge, I wanttoshowsomeoftheprojectsthatthecommunityhasmade.
So I'm gonnagotothecodingtrainhereonthemostrecentcodingchallenge I didwasthisflockingsimulation.
Oh, and I was, uh, recentlyspeakingwithNikkiCase, whowasoneofmyabsolutefavoriteInternetartistsever.
I thinksomeonesaidtomeonTwitter, orlikepostedin a comment, I don't understknowexactlyhowthisisworking.
Butthisthisisthekindofthisislikemydreamproject.
Ifyoueverhaveseenthenatureofcodebook, thesortoflikeworkingexercisethroughthatwholebookistomakeyourownecosystemwith a lotofdifferentagentsthatarehavedifferentrulesandrevolvingdifferentbehaviors.
Andthislookslikeitis a manifestationofthat.
A smartereverydayisstillinthechat, says, OhDang, I washopingforthree D.
Thethree D iscoming.
I'm gonnafindthatunityone, whichisreallywild.
Sowhat I loveaboutthisiseachoneofthesecreatures.
I haven't lookedatthecode.
I don't knowwhat's goingonhere.
I I actuallythinkitwouldbeinthiskindofcase.
I wouldloveforthecreatorofthis, maybetoconsider a writeupabouthowallthisisworking.
Itkindofmakesmethinkaboutwantingtoetry a littleunity.
Andalso, I stillwanttoputthisoutthere.
AnybodywhowantsThiotryNoonetriedthis.
I don't think I'm gonnagohere.
UmviewRuleFlake.
Yes.
So I mentionedthisthatinthebookTheComputationalBeautyofNature, whichisAh m i t pressbyGaryFlakeGaryFlakedescribes 1/4 ruleforflockingviewMovelaterallyawayfromanyboythatblockstheview.
I evenevenriggedupoverheadcamera, whichisnolongeronWait, myoverlook, Theyevenriggedupoverheadcamera.
Youknoweverybody.
Thesearemynosehairs.
Whoa, Thatmaybe a littlebitdizzy, actually.
Beperfectlyhonest.
Allright.
I guesswe'reguesswe'restartingwithfour.
Yea, Siri's Oh.
Huh?
Allright.
So I needtogetmyselfsetup a littlebiton.
Um, first, let's pullup a bunchoflinks.
Smarteveryday.
I thoughtthisvideoLet's pull.
Umactually, let's go.
Thio, Dogusblawg, whichisinTurkish.
Butthere's actuallydough.
GEhas a postwhichwastranslatedintoEnglish.
Howam I gonnafindthisTwitter?
I thinkso.
What I'm doingrightnow, justsoyouknow, istryingtofindalltheresourceisthat I usedtomakesure I creditthingsproperly.
AbilityMrsLovellabout.
Okay, holdon.
I justwantit.
Eitherwego.
I'm prettysurethat's theTwitterhandleon, then.
Yep.
Andthensomewhereinhereis a posttranslateEnglishthegreat.
We'regonnadothis.
Um, we'regonnacomedownheretolookatthis.
Okay, um, thenwearegoingtoalsogoThiothreeblueonebrownfor a A um, thisthisvideoisreallyremarkableifyouhavenotwatched, butwhatisOh, I forgotthatthisisstillonthemove.
Theoverhead.
I'm sosorry.
And I realizedthatwasthereifyouhavenotwatchedthis, butwhatisthe 48 transform?
Sowhen I makeaneditedwhen I makeaneditedversionofthisasseslike a shortcodingchallengevideo, I willprobablyreferencetowatchthisandthesmartereverydayVideofirst, because I'm essentially, likethewaythatmychannelworksifyouhaven't watcheditbeforedeath, isthat I trytodothatSortoflikelaststepimplementation.
Sometimes I knowexactlyhowthemathworksand I canexplainthatsometimes I'm relyingonsomebodyelse's deprivationorproofof a formula.
I'm justfiguringouthowtomakeitwork, but I wanttoshowtheentireprocessfromstarttofinishofcreatingthisvisualization.
Butthiscouldnotisreally a remarkableexplanationofthe 48 transform.
There's alsoactually a reallynice, betterexplained, betterexplainedforYea, I waslookingatthisalso, um, isexcellentandinteractiveguidetothefourgametransform.
Andsonow I think I cancloseoutalltheseotherthingsandthen I'm gonnadothis.
I'm gonnadothisinthe P fiveWebeditor.
I thinkthiscanworkinthis, I thinkis I mean, there's nothingsimpleaboutwhat I'm gonnado.
It's veryhard.
I had a reallyhardtimethinkingaboutthisandtryingthisoutthisweek, but, um, I thinkit's a a smallestamountofcode.
Whatisthepassword?
Oh, no, it's justcodingtrain.
That's why, um, it's a smallishamountofcodethat I think I coulddoitinthiseditorsothatthere's anonlineversionthatyouconfined.
Soprettyrecently, smartereverydaycameoutwith a videocalledWhatis a for a seriousexplainedbydrawingcircles.
Thisvideoremindedmeofamazingvideothat I watched a TTEsomepointinthepast, I guess, likealmost a yearago, calledWhatIsthe 48 transformofVisualintroduction?
Workedwith a a Turkishresearcheronthiswebsitehere.
I'm notgonnaattempttopronounceit.
I will.
BillyNina's goosesalondotnet.
I encourageyoutocheckoutandreadthiswholearticle, butthisis a visualizationagainofexactlywhat I wanttodo.
A seriesofwavepatternsvisualizedas a pathalong a circle.
Periodicfunctionssometogethertoapproximate a squarewave.
AndifwecanmakethishappeninJavascript, thenthereintheory, isnoreasonwhywecouldn't thenfigureouthowtodrawanygivenpathas a seriesof 48 transforms, andthere's like a sortofwellknowngiftforvideoofthislikecrazysetofcirclesdrawingHomerSimpson.
So I'm hopingtogetthere.
Butthisvideo, I justwanttobytheendofthevideo, haveexactlythispatterninJavascript.
Okay, so I alsowantThio a referencethiswebsitebetterexplaindotcom, whichhas a nicearticle, aninteractiveguidetothe 48 transform.
Andthis, I think, is a reallyexcellentexcellentrelationsgonnagetstartedcodingin a second, Butyou'rejustgonnahavetohumorme.
Soletmekindoftalkaboutthis a littlebitmorejusttogetmyfeetundermehere.
Thesinewavehas a frequency, whichishowfatHowhowoftendoesn't repeatlikeififthisisthesortof X axislikethisisonewholecycle, right?
And I couldthinkofthataslikethetimeittakesforthiscircletopatthisdottogoaroundthecircle, sofrequencyislikehow, how, how, howmanycyclesofthewaveperunitoftime, likepersecondperframe?
There's alsoamplitude.
Amplitudeistheheightofthesinewave.
Howhowmuchdistancebetweentheverytopandtheverybottom, andso a sound, a puresound, thetone, themusicalnotethatwasmeanttopit a G Andthatwas I don't haveanyclosetoperfectpitch.
Whoknowswhatnote I justsung.
WecouldgettheMlfivemachinelearningrejectionmodel.
Tellusthat's anotherstoryforanothertimecouldberepresentedas a signwithSoButyouprobablyhaveseenlike, Oh, I'vegotthisrecordingdeviceSound d thinking.
That's sosoinotherwords, ifthisislikethemusicalnote a andthenthisislikethemusicalnotesomethingelseandwouldaddthesetwowavestogether.
Canyoustillseewhere I'm driving?
Youknow, I mightgetsomethingthatlookslikethis, right?
And I'vedonethis.
I think I have, like, anadditivewayvideointhenatureofcode.
Siri's aboutthiskindofidea.
TheideaoftheForettransformisCanwegoright?
I couldhavethesetwowaves.
I couldaddthemtogetherandgetthispattern.
Could I goinreverse?
If I'm listeningto a soundlikethis, Could I pulloutallofthewaves, thesounds, thefrequenciesthatmakeupthatthat's likepitchdetectionOrif I wantedtothenfilterout a veryhighpitchsoundIf I couldtakethesound, breakitapart, takeawayoneofthehighpitchedsoundaddedbacktogether, I wouldgetthis.
Sothisisakinto I lovethismetaphorhereinthebetterexplainoffUnscrewtheing a smoothie.
So I'm liketomakesmoothies.
Actually, littlenoteback.
Uh, I waslikeanywaysobutcouldyoulikeright?
Let's say I takesomemangoandsomekaleintoblueberriesandsomelikealmondmilkandmixthemalltogetherand I giveittomyChildren.
I say, Major, thisbeautifulsmoothie.
Canyouguesswhat's insideofit?
There's actually a gameweactuallyplayathome.
I justrealizedthatthisisperfect.
Well, if I coulddo a foraytransform, I couldtakethemixedsmoothieandfilterout a newgoingreverseandfindoutalltheingredients.
That's theidea.
Sothat's theideabefore a transform.
That's conception.
Whatisnow?
What I wanttodointhisvideois I'm notgonnaworryaboutfiguringanyofthisout.
I'm justnow I understandwhatitis, whatitcanbeusedfor.
I havethisgoaleventuallyofhavingit, using a for a serioustodrawanyarbitrarypath.
Butonewaytogetstartedwiththatisexactlywhat's demonstratedhereonthiswebsite, whichis, CouldyouWhatWhatwayisyouneedtoadduptogethertoendupwith a squarewaveandyoucanseehereThisisactually a reallynicevisualizationisasasyouhave.