Coding Challenge #25: Spherical Geometry

  Рет қаралды 172,367

The Coding Train

The Coding Train

Күн бұрын

Пікірлер: 169
@MCRAVENATOR2222
@MCRAVENATOR2222 8 жыл бұрын
the happiest coder ever, gotta love when a person is passionate about their field of expertise
@ElBellacko1
@ElBellacko1 3 жыл бұрын
i can see why he is a happy coder and it is because he is not stuck coding crud, business applications like many coders. he codes the fun stuff.
@blucenere
@blucenere 3 жыл бұрын
He is the happiest because is coding alone :)
@phuanhuynh8888
@phuanhuynh8888 2 жыл бұрын
Dr Livesey but he do programming
@ReevansElectro
@ReevansElectro 8 жыл бұрын
The "Bob Ross" of programming! Not annoying at all.
@ReevansElectro
@ReevansElectro 3 жыл бұрын
@Chere Mizwicki And you're proud of that kind of hacking behavior?
@TristanPopken
@TristanPopken 3 жыл бұрын
@@ReevansElectro Dont worry, both of the comments above you were from bots. Nobody is being hacked
@alebonita09
@alebonita09 6 жыл бұрын
This is the very best explanation I've seen about ANYTHING related to coding, and I'm finishing a 5 year major. You're awesome.
@tincuptan
@tincuptan 4 жыл бұрын
Seriously he is so good at coding, can you believe he is actually an arts major.
@rubensolorio7390
@rubensolorio7390 7 жыл бұрын
2 months ago, best teacher on my list; currently, hasn't changed. Thank you Dan!! :)
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
Thanks for the nice feedback!
@rszec
@rszec 8 жыл бұрын
Awesome! Until now, I learned about topography, botanics, algebra, hydromechanic, and a lot of other subject just by watching you programming in Java... All of that without getting tired or bored! Thanks a lot!!!!
@pietrononame4945
@pietrononame4945 2 жыл бұрын
Theres no map() function in Java.
@jameshall5171
@jameshall5171 6 жыл бұрын
At the “epilogue” when he switched the sphere detail value to 5, it kind of looked like an object straight out of katamari (a Japanese game about rolling up things to create stars). The only difference is the color and texture. This is also made me realize just how important this code is for 3D games! Definitely saving this video.
@glenneric1
@glenneric1 2 жыл бұрын
This wacky flailing arm inflatable tube man is the best teacher ever!!
@zbrolman
@zbrolman 2 жыл бұрын
I really like your videos. I personally use them for educational purposes in 3d math, because I struggle with understanding the equations from wikipedia, but with your explanations everything becomes more clear. Thank you!
@zbrolman
@zbrolman 2 жыл бұрын
Or maybe sometimes I should try to visualize the problem instead of hopping straight into the code :D
@hillarymapondera4122
@hillarymapondera4122 3 жыл бұрын
This is why I now believe that programming is not a nerdy boring thing I wish I had a professor Like you in University.
@Paul-cv8nv
@Paul-cv8nv 2 жыл бұрын
This is nerdy even more that regular programming
@Shockszzbyyous
@Shockszzbyyous 8 жыл бұрын
The more of your video's I watch the more clear things I've coded in the past become. which is kind of weird, but makes sense since there is a lot of thing I coded that I didn't really understand :)
@alejandrogarciasainzsours4226
@alejandrogarciasainzsours4226 5 жыл бұрын
Lol 10:36 looks nutty buddies. PD: Your videos are seriously awesome! You are a hero to anyone who stumbles upon them because of your brilliance in applying concepts that many would struggle with if it wasn't for your masterful teaching and friendly demeanor. You have my everlasting gratitude.
@kxsteve2061
@kxsteve2061 6 жыл бұрын
Great challenge you've got here! Keep up doing it man!
@crisiberny
@crisiberny 8 жыл бұрын
This is really awesome! Is nice to see how all things (vector calculus with the spherical coordinates thing and programming) come together. Congratulations!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
thank you!
@murzikmurzik2453
@murzikmurzik2453 8 жыл бұрын
Please, make a coding challenge on how to make a randomly generated terrain on a sphere using Perlin noise. Thanks!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Oh, this is a great idea.
@vulpesaxis8494
@vulpesaxis8494 8 жыл бұрын
it is basically the same thing but r is now a funcion that depends on phi and theta it can be a trigonometric function,perlin noise, whatever you want and instead of 20 lon and lat values can be as much as you want ...I would recommend to use a bounded function so it will have a "nice" shape instead of peaks all over the sphere if you work the maths you can make every shape you want even a planet earth...I mean if you want to make it "not random"
@carldanso6707
@carldanso6707 4 жыл бұрын
U are the best , u've really made me understand the concept of 3D
@vincentcleaver1925
@vincentcleaver1925 6 жыл бұрын
Between you and the Englishman, Javidx9, I have learned spherical geometry plus how to cook up some pseudo perlin noise, and I'm doing some low-res, low-poly, world-building
@peterburton9855
@peterburton9855 4 жыл бұрын
Excellent, thanks :-) Finally, an understandable explanation of how to do this. It was clear enough that I was able to implement this in python and Opengl quite quickly. Will take a look at more of your videos for more tips.
@panktishah3510
@panktishah3510 2 жыл бұрын
Hello Peter, can you please share your python code
@ABaumstumpf
@ABaumstumpf 8 жыл бұрын
I like how to make everything easier to code you ignore the corner-cases all the time XD At the top and bottom of the sphere you have a punch of points all in the exact same spot. That also makes that you have an alternating pattern of a normal triangle and a triangle where 2 verticies are at the same spot. And because you flipped the way the strips are created, you also flipped some triangles around so that the back-face is showing. Those 2 together make for some strange patterns at the poles. And another thing: because you do not connect the triangle-strips back to the start but create new points at the same location the deformation you apply rip the sphere apart - as the start and end-point, while originally at the same position, are not the same points and get a different random deflection.
@DavidRisnik
@DavidRisnik 8 жыл бұрын
Very very good Daniel! every new tutorial I learn new techniques, congratulations on your work .You do well clear explanations and well-defined !
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
I really appreciate it!
@Linuxdirk
@Linuxdirk 2 жыл бұрын
To prevent the error described around 10:43 I always "properly" name my iteration variables.
@rollingc2013
@rollingc2013 2 жыл бұрын
I have been coding nearly 10 years.. ended up in the boring world of basically data presentation. This is the type of coding I want to do
@jstro-hobbytech
@jstro-hobbytech 2 жыл бұрын
Hey man. You're a newish poster. What type of Java is he using and in which ide? I haven't written Java since 1999 when I had to take it and applets ran horribly. Haha. I've been digging 3d coding lately and evaluating different ways to visualize the data from the lidar, mems and other sensors for a little bot I'm building. I'm leaning towards unreal using cpp but it doesn't have to be that complicated for a hobby project. I don't like unity, directx is way too much time to build a framework just to render 1 pixel, vpython was too slow and opengl was OK but I'm like the only programmer in the world who doesn't know js haha. I do know cool and pascal however. I'm old...43 haha
@eugene8976
@eugene8976 4 жыл бұрын
I wish I could like this twice :P
@kevnar
@kevnar 3 жыл бұрын
It would be neat to see the points of the sphere effected by the gravity of a moon in orbit around it, causing tides. Turn the points into particles that can be pulled this way and that by another object.
@Gutagi
@Gutagi 4 жыл бұрын
Can you make other spheres, such as icosphere, or the “golden ratio sphere” by Sebastian Lague?
@shanebenlolo3160
@shanebenlolo3160 Жыл бұрын
Could you make a video about how you'd map a globe texture over a sphere?
@arfcommer15
@arfcommer15 7 жыл бұрын
Simplest way to not confuse lat/long is longitude are LONG(itudnal) lines going all the way over the poles, while latitude are circles that change in size.
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
Thank you!!
@kyle-bensnyders3147
@kyle-bensnyders3147 7 жыл бұрын
Another way is to think of FATitude instead of latitude.
@arfcommer15
@arfcommer15 7 жыл бұрын
Third way is to play dyslexic and see latitude as "altitude" with the equator being ground, and latitude is how 'high' you are on the sphere.
@valtsuhw
@valtsuhw Жыл бұрын
Well done, apparently the spots (x,y,z) math works just as well with C++, got a nice (dense, hollow) sphere.
@admin1b12
@admin1b12 4 жыл бұрын
you are the best youtuber in the world YOU HAVE ONLY 30 DISLIKES IN 2020
@shridharmamidalaa2509
@shridharmamidalaa2509 8 жыл бұрын
Thank you so much Daniel Shiffman . !!! I started exploring "backstage" technologies... on how meshes are formed in 3D softwares , Marching cubes and so on..... This video was real helpful.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Yay, so glad to hear!
@xxBunnyoo
@xxBunnyoo 3 жыл бұрын
wow from a sphere to "what's the reason in life?" real quick
@oooSIDEooo
@oooSIDEooo 8 жыл бұрын
HSb ranges from 0-360, 0-100, 0-100 that way you get more colors in your rainbow
@MilanKarakas
@MilanKarakas 8 жыл бұрын
Excellent presentation. Do you have already done video about mapping pixels onto globe? I mean, some image - then render it over the globe, or part of the globe. I think this will be very usable to have. Thanks.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+WildMania great idea!
@MilanKarakas
@MilanKarakas 8 жыл бұрын
Thank you in advance. I subbed, and set notification. So, when you finish video - I (and others) will be notified. No rush, currently messing with radio communication, FFT optimization, and other similar things on Atmel chips. What a headache... :D
@Shockszzbyyous
@Shockszzbyyous 8 жыл бұрын
FFT on atmel chips ... must be on the 32bit ones :D
@MilanKarakas
@MilanKarakas 8 жыл бұрын
You mean for speed? Right? Or amount of data? Thanks.
@Shockszzbyyous
@Shockszzbyyous 8 жыл бұрын
***** both, I am used to working only with the 8 bit ones, so my mind went to those, and I thought not really useful nor practical :D and later remembered there were 32bit ones too. just being a bit random :)
@theobgshow
@theobgshow 4 жыл бұрын
Such an amazing and informative presentation. Thank you.
@benrex7775
@benrex7775 4 жыл бұрын
Watching the video at 3x speed. Your even more lively now.
@Skans0513
@Skans0513 7 жыл бұрын
I'm doing a school project with p5.js to create a 3d music visualizer and your tutorials are so helpful! Thank you!
@Khusyasy
@Khusyasy 2 жыл бұрын
man... i wanted to know about spherical geometry but got existential crisis
@venkateshwaran292
@venkateshwaran292 Жыл бұрын
Quick question, how do we print a 2D line? A line consists of infinite points. Do we interpolate all the pixels between two distinct co-ordinates? How do we actually plot a continuous line with discrete points?
@ECSydney
@ECSydney 5 жыл бұрын
latitude is left to right across the globe. Think of the rungs on a ladder. When youre climbing it the rungs are horizontal. Latitudinal. If you can remember the ladder trick it helps!
@caseyrogers9760
@caseyrogers9760 2 жыл бұрын
Longitude are all as long as each other (or have the same longness as i say it in my head)... latitude is the other one 😁
@fouadalkhazraji7546
@fouadalkhazraji7546 2 жыл бұрын
how to write the code in java, especially the map instruction?
@mwint1982
@mwint1982 6 жыл бұрын
Triple snaps for this guy
@philanglade2745
@philanglade2745 5 жыл бұрын
3:30 Wrong : Earth is flat !!! So we need no spheres ! Great job, even if i'm late. Thank you very much!
@jstro-hobbytech
@jstro-hobbytech 2 жыл бұрын
What ide are you using? In all my years of (trying...) coding I've never touched Java since writing applets over 20 years ago and hated how slow it ran on a pentium 3 350mhz. Haha
@lightingavril4586
@lightingavril4586 3 жыл бұрын
Thank you so much!!!!!!!!
@techlearner2746
@techlearner2746 4 жыл бұрын
For how many years did it take for learning coding u r so expert in this field please tell me
@manbirjudge8415
@manbirjudge8415 4 жыл бұрын
I was also going to type the comment that "Any idea how to fix it?". Haha. Love from India. : )
@WildAnimalChannel
@WildAnimalChannel 7 жыл бұрын
always with the rainbows!
@matthewe.proteau6100
@matthewe.proteau6100 2 жыл бұрын
Love the tutorial thanks Dan! DOes anyone know how to get and affect a single point in this shape? I just want to take a single point and move it inwards towards the center of the circle
@boscorner
@boscorner 3 жыл бұрын
You're really strange. I love it. :D
@MarshallThomas
@MarshallThomas 4 жыл бұрын
can you do this in P5.
@runhomie1013
@runhomie1013 8 жыл бұрын
can you do a human body ?
@henriquetuerpe8300
@henriquetuerpe8300 3 жыл бұрын
what the function map develops there? in c++ we don't have that
@luukvanoijen7082
@luukvanoijen7082 8 жыл бұрын
Could this code be compiled to a .exe? This seem like a very nice tool and language to make games with. Currently learning Love2D but it's pretty hard to get 3D to work, and I couldnt get Love3D to work
@DomhnallP
@DomhnallP 8 жыл бұрын
insidetheOS it's pretty good for simple games, they teach freshman in my university how to use processing and one of their assignments is to design a game, a friend of mine made a 3D version of snake really easily. It looks great! Obviously it's very limited but it's good for getting started
@christianfranticich1592
@christianfranticich1592 8 жыл бұрын
They are probably using it to teach programming which is absolutely fine. Also, with processing you can load objects, you can play sounds and it obviously is OOP since it's Java. I'm not sure where you got your information from.
@DomhnallP
@DomhnallP 8 жыл бұрын
***** like christian said, it's just used to teach them the concept of programming, gives them something interesting to learn how to program algorithmically. they move onto Java in semester 2 and then after first year they move onto other languages!
@er4795
@er4795 8 жыл бұрын
insidetheOS everything you said processing lacks, it has
@theobgshow
@theobgshow 4 жыл бұрын
"Foldy, patterny thing". Haha.
@Tithib59
@Tithib59 5 жыл бұрын
Nice video ! Do you think it is possible to create a shpere made of hexagons with processing ? ^^
@practicodelaconspiracion
@practicodelaconspiracion Жыл бұрын
those monigotes are really necessary?
@XeXPiti
@XeXPiti 8 жыл бұрын
I´m at my third year studying computer science and also work as an visual artist at partys, and you´r teaching me everything i wanted to learn about this stuff i ever wanted. do you even now how much of your work is needed in this business? (PS: i know, fuck my english / and yes im drunk at this moment ^^) best regards from austria
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+XeXPiti thanks for the feedback!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+XeXPiti thanks for the feedback!
@charbelsarkis3567
@charbelsarkis3567 7 жыл бұрын
hilarious
@poojavaghasiya7701
@poojavaghasiya7701 4 жыл бұрын
Nice coding..... Sir can you help me to arrange 25mm circle at equal distance on the surface of 13'9" Diameter sphere.
@deadmusik9969
@deadmusik9969 4 жыл бұрын
I got to the point of using my i and j variables and it says they cannot be resolved into a variable. declared them uptop,then i ran into the cam as not a variable damn
@angelcaru
@angelcaru 5 жыл бұрын
2:56 Flat earthers disliked
@milanlora
@milanlora 5 жыл бұрын
How do you know what algorithm to use?
@ericvega9160
@ericvega9160 4 жыл бұрын
how do you control the polar axis?
@prestonblumhagen8626
@prestonblumhagen8626 8 жыл бұрын
Can you do a coding challenge on pong?
@deadmusik9969
@deadmusik9969 4 жыл бұрын
you could of kept going on the rabbit hole of simulation dan!
@4444tttt
@4444tttt 2 жыл бұрын
hi, im trying processing 4.0 and its appears like variable ''total'' doestn exist, could anybody help me x.x
@minecraftisinnow
@minecraftisinnow 8 жыл бұрын
First! I Liked the video, cant wait for more :)
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Thank you!
@frerosami7
@frerosami7 8 жыл бұрын
thank you very much you help me so much!!!!!
@thomasolson7447
@thomasolson7447 4 жыл бұрын
Mine is slow. Too slow for what I have planned. I made a second multidimensional array where I multiplied the lon and lat variables by n and do a sum. I put that sum into the fill in the second set of loops. fill(map(color[i][j],-((1/2)*sqrt(2)+1),(1/2)*sqrt(2)+1,0,255) ,255,255);. The sphere looks exactly how it should look. The problem is that it's too slow. Total has to go over 100 for the star pattern to look somewhat ok. Ideally it would go to 400+ to make it look smooth. I think I can do away with the color array. It would take more math to get the same result, but it's doable.
@oreostastegoods
@oreostastegoods 8 жыл бұрын
Do some icospheres!
@Master-qr3eq
@Master-qr3eq 4 жыл бұрын
i want to download your code of this video? is it possible sir and where from i download it? Anyone can help me
@ili76767
@ili76767 5 жыл бұрын
I would like to ask you, PVector [] [] globe; How should the code be written in p5.js?
@vinayvyraveraja7102
@vinayvyraveraja7102 8 жыл бұрын
Hey Daniel, in the Processing reference website I realize at least three vertices are need to construct a triangle strip, however you only use two vertices in your code to construct full strip. How this is possible ?
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
The "strip" makes triangles out a sequence of vertices, like so: 1) ABC 2) CDE 3) EFG, etc. So it uses 3 at a time and repeats the last one.
@stephensimpson7794
@stephensimpson7794 5 жыл бұрын
@@TheCodingTrain it repeats the last two. ABC BCD CDE. you go from top left to bottom left to top right for one triangle. then to bottom right of the second triangle to form a rectangle
@lucianopazona9976
@lucianopazona9976 7 жыл бұрын
Genio
6 жыл бұрын
Luciano Paz Oña es un idolo
@iansimpson9452
@iansimpson9452 8 жыл бұрын
is it possible to add a 4th dimension?
@iansimpson9452
@iansimpson9452 8 жыл бұрын
in a testing way?
@sCube369
@sCube369 8 жыл бұрын
Ian Simpson it would completely depend on your logic, practical and/or visual definition of 4th dimension, but as soon as you figure with aproach you want, you'd have to start from there on how to program it. Long story short it's up to what you define as dimension in order to do it.
@lolerskates876
@lolerskates876 4 жыл бұрын
Latitude :: Flat-itude
@gazzaka
@gazzaka 8 жыл бұрын
I have often tried to code a geodesic sphere, any help? Also, a"wormhole" effect....
@GeorgeZaharia
@GeorgeZaharia 3 жыл бұрын
10:00 11:20 exactly what i needed to wrap a image around a "3d sphere" in logical sense of things thank you my guy... now lets turn the lights off for those Russians by trowing javascript 2d/3d spheres at them lol .... kidding i love russians suka ^_^
@KuKoVisuals
@KuKoVisuals 8 жыл бұрын
Finally a good mathematical explanation. although in math theta goes from 0 to 2PI & phi from 0 to pi is math and programmers colliding ? :(
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Yes, I definitely made some errors here. I hope I corrected it with the code I posted, if not file a github issue!
@KuKoVisuals
@KuKoVisuals 8 жыл бұрын
hehe Idk I was drinking when I said this :x
@eduzal
@eduzal 7 жыл бұрын
hi. i'm having issues with peasycam and processing 2.2.1. It gives a jave error. java.lang.UnsupportedClassVersionError: peasy/PeasyCam : Unsupported major.minor version 52.0
@Chloehjk
@Chloehjk 8 жыл бұрын
Thanks a lot for coding challenge~ awesome. in the video you take three sentence at the same time and add //
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
CMD-/ is the shortcut!
@Person47
@Person47 7 жыл бұрын
what if you sont have peasycam
@arfcommer15
@arfcommer15 7 жыл бұрын
Go to tools | add tools, then pick library tab, and pick PeasyCam from the list and pick install, there's a bunch of other stuff to add too, they have examples for usage.
@adamstybrzynski3216
@adamstybrzynski3216 5 жыл бұрын
Hey there! You are doing excellent thing here...tons of appreciation! Does anybody have an idea how can I make the rainbowish ball at the end transparent? I am trying with tint(); function however with no result...
@eduugr
@eduugr 6 жыл бұрын
Thanks for another amazing video!! I always wanted to learn howto code the camera by myself. I conceptually understand projection and transformation matrices. Can you people point me out some good reading, videos or a keyword to search more eficiently? Thanks in advance!!
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
Would you mind asking at discourse.processing.org/! It's a better platform for Processing and p5.js related code questions. You can share code there easily! Feel free to link from here to your post.
@ericvega9160
@ericvega9160 4 жыл бұрын
drive.google.com/file/d/10PlTPYYMlaS2EnkXZJi2WwnqOfbyCgXn/view?usp=drivesdk please!! Help me, i want to draw all faces properlly, thank you
@pullingrabbitsouttaahat
@pullingrabbitsouttaahat 6 жыл бұрын
21:08 Nice Dance Buddy !
@yakov9ify
@yakov9ify 8 жыл бұрын
you confused londitude and latitude in the x,y,z calculation z is supposed to only be cofntrolled by latitude bu in your equetion it is controlled by longitude
@yakov9ify
@yakov9ify 8 жыл бұрын
never mind you adresed it
@c7ndk
@c7ndk 6 жыл бұрын
Great video. But minor error; you swapped longitude and lattitude :p
@rakeshnatkarp-2965
@rakeshnatkarp-2965 8 жыл бұрын
its good
@hascheidl
@hascheidl 6 жыл бұрын
Daniel, why did you choose triangle strip? Would an implementation with TRIANGLE_FAN be possible? Would it be much different?
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
Oh, good question! No reason, triangle fan might be better in fact!
@eduugr
@eduugr 6 жыл бұрын
Hi everyone! Awesome video. I'd like to learn how to code 3D figures and a camera all in JavaScript (no GL). Also trying to understand completly the concept of projections. Can you recommend videos, tutorials, readings? Thanks so much!
@YdenPL
@YdenPL 8 жыл бұрын
Maybe people pronounce "fi" this way, because they pronounce "pi" the same way, and it's also a greek letter. Just my little theory here.
@cliffspencer
@cliffspencer 3 жыл бұрын
Watching these videos, I always wonder why more expressive variable names aren't used. Instead of saying "okay, let's make j represent longitude", why not just name the variable longitude?
@thesdfable
@thesdfable 3 жыл бұрын
hello! first of all thank you you are an amazing teacher. I get this error " ArrayIndexOutOfBoundsException: 60" I don't really understand why. Is it because my index is outside the range, smaller than the length of the array?
@thesdfable
@thesdfable 3 жыл бұрын
Yup sorry my mistake! figured it out!
@bradleystone9099
@bradleystone9099 7 жыл бұрын
These videos are 80% code, 20% stream of conscience, 40% rainbows, and 141% awesome :D Question...I just realized you're now coding in Java, or are you? At what point did you start doing that? I'm coming from the Javascript and "working with data" playlists, and a friend of mine has put me to the task of building something similar to this video. So uhh, this whole thing doesn't work in Javascript/ P5.js, right?
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
There is a "WEBGL" renderer for p5 but it's in the early stages. For 3D in the browser, I would look at three.js.
@realcygnus
@realcygnus 8 жыл бұрын
priceless
@boonewalker3973
@boonewalker3973 3 жыл бұрын
Existential crisis incoming
@sixtenhugosson
@sixtenhugosson 8 жыл бұрын
lights camera action... wait did you play undertale
@lost3241
@lost3241 8 жыл бұрын
no
@connorclub6244
@connorclub6244 2 жыл бұрын
the moment i started the video and saw that i audibly said "what the fu-"
@fiveoneecho
@fiveoneecho 5 жыл бұрын
Pretty sure it's pronounced Ph[eye], since the other letters have long 'i's, but I'm not certain.
@adammeier6477
@adammeier6477 6 жыл бұрын
I sat through the video for about 20 min waiting to see if you acknowledged that you mixed up the inclination and the azimuth, haha
@钩不到人怎么办
@钩不到人怎么办 6 жыл бұрын
It took me some time to figure out why he mixed up spherical coordinate system but still got a sphere.
@ophello
@ophello 7 жыл бұрын
Can anyone tell me how to make a 3D geodesic sphere in p5?
@danielpashai7111
@danielpashai7111 8 жыл бұрын
post the code
Coding Challenge #26: 3D Supershapes
21:35
The Coding Train
Рет қаралды 87 М.
2024's Biggest Breakthroughs in Math
15:13
Quanta Magazine
Рет қаралды 425 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Coding Challenge 180: Falling Sand
23:00
The Coding Train
Рет қаралды 1 МЛН
Coding Challenge 168: MandelBulb 3D Fractal
28:02
The Coding Train
Рет қаралды 377 М.
Spherical Geometry in Navigation
7:45
Sven Cattell
Рет қаралды 41 М.
The Continuity of Splines
1:13:50
Freya Holmér
Рет қаралды 1,4 МЛН
Coding Adventure: Rendering Fluids
58:41
Sebastian Lague
Рет қаралды 475 М.
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
Coding Challenge 177: Soft Body Physics
29:09
The Coding Train
Рет қаралды 160 М.
Coding Challenge 93: Double Pendulum
31:11
The Coding Train
Рет қаралды 922 М.
How AI Discovered a Faster Matrix Multiplication Algorithm
13:00
Quanta Magazine
Рет қаралды 1,5 МЛН
Coding Challenge 183: Paper Marbling Algorithm
32:10
The Coding Train
Рет қаралды 80 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН