CodingTrain / thecodingtrain.com

All aboard the Coding Train! Choo choo! 🚂🌈❤️
https://thecodingtrain.com
MIT License
207 stars 110 forks source link

Should "Physics Libraries" be a main track? #1098

Closed dipamsen closed 12 months ago

dipamsen commented 1 year ago

It makes sense to me that the videos in this track can be separated into chapters - Matter.js, toxiclibs, and Box2D

image

Even the actual files of the track are separated into folders: image

which creates urls, suggesting a main-track like structure:

https://thecodingtrain.com/tracks/physics-libraries/physics-libraries/toxiclibs/3-connected-systems

On the other hand, this track doesn't completely fit the definition of a main track:

“Main Tracks” are sequenced video tutorials that you can follow like a course syllabus.

It is a bit closer to what a side track is (except the order part):

“Side Tracks” are collections of related videos but don’t necessarily need to be watched in order.

It is somewhere in between...

Thoughts?

fturmel commented 1 year ago

You could just replace the videos property of a side track with chapters and still call it a side track. It seems to work just fine.

{
  "title": "Physics Libraries",
  "description": "Tutorials on the Matter.js, Toxiclibs, and Box2d physics libraries",
  "chapters": [
    {
      "title": "Matter.js",
      "videos": [
        "noc/6-physics-libraries/1-matterjs-introduction",
        "noc/6-physics-libraries/2-matterjs-introduction-continued",
        "noc/6-physics-libraries/3-matterjs-deleting-bodies",
        "noc/6-physics-libraries/4-matterjs-constraints",
        "noc/6-physics-libraries/5-matterjs-mouse-constraints",
        "challenges/62-plinko-with-matterjs",
        "challenges/138-angry-birds-with-matterjs"
      ]
    },
    {
      "title": "Toxiclibs",
      "videos": [
        "physics-libraries/toxiclibs/1-introduction",
        "physics-libraries/toxiclibs/2-particles-and-springs",
        "physics-libraries/toxiclibs/3-connected-systems",
        "physics-libraries/toxiclibs/4-attraction-behavior",
        "challenges/20-3d-cloth-simulation",
        "challenges/63-texturing-cloth-simulation",
        "challenges/177-soft-body-character"
      ]
    },
    {
      "title": "Box2d",
      "videos": [
        "physics-libraries/box2d/1-introduction",
        "physics-libraries/box2d/2-central-elements",
        "physics-libraries/box2d/3-coordinate-and-vectors",
        "physics-libraries/box2d/4-adding-to-processing-sketch",
        "physics-libraries/box2d/5-adding-to-processing-sketch-2",
        "physics-libraries/box2d/6-static-bodies-and-chain-shapes",
        "physics-libraries/box2d/7-complex-shapes",
        "physics-libraries/box2d/8-distance-joints",
        "physics-libraries/box2d/9-revolute-joints",
        "physics-libraries/box2d/10-user-controlled-objects",
        "physics-libraries/box2d/11-apply-forces",
        "physics-libraries/box2d/12-collision-events"
      ]
    }
  ]
}
shiffman commented 1 year ago

Ah, great, yes, let's keep as a side track but use the chapters!