Coding Challenge

Sdílet
Vložit
  • čas přidán 16. 07. 2024
  • In this coding challenge, I visualize a 4D Hypercube (aka "Tesseract") in Processing (Java). Code: thecodingtrain.com/challenges...
    🕹️ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/s...
    🎥 Previous video: • Coding Challenge #112:...
    🎥 Next video: • Coding Challenge #114:...
    🎥 All videos: • Coding Challenges
    References:
    🔢 Matrix Multiplication: matrixmultiplication.xyz
    🗄 Rotation Matrix on Wikipedia: en.wikipedia.org/wiki/Rotatio...
    🗄 3D Projection on Wikipedia: en.wikipedia.org/wiki/3D_proj...
    🗄 Tesseract on Wikipedia: en.wikipedia.org/wiki/Tesseract
    Videos:
    🎥 Understanding 4D -- The Tesseract: • Understanding 4D -- Th...
    🚂 3D Rendering with Rotation and Projection: • Coding Challenge #112:...
    🚂 Matrix Math: • 10.6: Neural Networks:...
    🚂 Matrix Multiplication for 3D Rendering: • Matrix Multiplication ...
    🔴 Coding Train Live 148.2: • Coding Train Live #148...
    Related Coding Challenges:
    🚂 #112 3D Rendering with Rotation and Projection: • Coding Challenge #112:...
    Timestamps:
    0:00 Introducing today's topic: rendering a 4D hypercube
    7:30 Create a P4Vector class
    9:43 Extend the points array to have 16 points
    13:06 Create the projection matrix
    16:16 Stereographic projection
    18:04 Connect the points
    22:17 Add an offset to the connect function
    26:26 Create rotation in the 4th dimension
    29:49 Create a rotationXY matrix
    36:52 Rotate around the w axis
    40:23 We have now entered the 4th dimension!!
    40:58 What dimension could you visualize?
    Editing by Mathieu Blanchette
    Animations by Jason Heglund
    Music from Epidemic Sound
    🚂 Website: thecodingtrain.com/
    👾 Share Your Creation! thecodingtrain.com/guides/pas...
    🚩 Suggest Topics: github.com/CodingTrain/Sugges...
    💡 GitHub: github.com/CodingTrain
    💬 Discord: thecodingtrain.com/discord
    💖 Membership: czcams.com/users/thecodingtrainjoin
    🛒 Store: standard.tv/codingtrain
    🖋️ Twitter: / thecodingtrain
    📸 Instagram: / the.coding.train
    🎥 Coding Challenges: • Coding Challenges
    🎥 Intro to Programming: • Start learning here!
    🔗 p5.js: p5js.org
    🔗 p5.js Web Editor: editor.p5js.org/
    🔗 Processing: processing.org
    📄 Code of Conduct: github.com/CodingTrain/Code-o...
    This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
    #3drendering #orthographicprojection #rotationmatrix #4dhypercube #tesseract #processing

Komentáře • 379