[{"data":1,"prerenderedAt":1676},["ShallowReactive",2],{"project-opengl-micro-engine":3,"content-query-6jEKSXlisQ":425,"project-header-opengl-micro-engine":715,"next-project-opengl-micro-engine":1005,"project-title-opengl-micro-engine":1386},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"team":10,"tags":12,"image":19,"previewImage":20,"createdAt":21,"enabled":22,"live":23,"source":24,"body":25,"_type":419,"_id":420,"_source":421,"_file":422,"_stem":423,"_extension":424},"\u002Fproject\u002Fopengl-micro-engine","project",false,"","OpenGL Micro Engine","A small 3D engine in C++ and OpenGL with a rollercoaster demo: a cart rides on rails through a day-night cycle, with lamp posts, bloom, screen effects and a clickable track switch.",[11],"Mitch van den Broek",[13,14,15,16,17,18],"C++","OpenGL","GLSL","GLFW","glTF","CMake","\u002Fimg\u002Fprojects\u002Fopengl-micro-engine\u002Fstation.jpg","\u002Fimg\u002Fprojects\u002Fopengl-micro-engine\u002Fsunset.jpg","2025-06-06T00:00:00+03:00",true,"\u002Fdemo\u002Fopengl-micro-engine\u002F","https:\u002F\u002Fgithub.com\u002FVincevdb1\u002Fopengl-micro-engine",{"type":26,"children":27,"toc":416},"root",[28,43],{"type":29,"tag":30,"props":31,"children":32},"element","project-header",{},[33],{"type":29,"tag":34,"props":35,"children":36},"project-title",{},[37],{"type":29,"tag":38,"props":39,"children":40},"p",{},[41],{"type":42,"value":8},"text",{"type":29,"tag":44,"props":45,"children":46},"project-main",{},[47,144,194,226,254,263,276,304,395,409],{"type":29,"tag":48,"props":49,"children":50},"project-section",{"type":42},[51,75],{"type":29,"tag":38,"props":52,"children":53},{},[54,56,62,64,73],{"type":42,"value":55},"This project was made as an introduction to ",{"type":29,"tag":57,"props":58,"children":59},"strong",{},[60],{"type":42,"value":61},"computer graphics",{"type":42,"value":63},", together with Mitch van den Broek.\nWe wanted to build a small graphics engine with ",{"type":29,"tag":57,"props":65,"children":66},{},[67],{"type":29,"tag":68,"props":69,"children":71},"project-term",{"note":70},"A standard way for a program to talk to the graphics card. It gives the commands to upload shapes and textures and to draw them with shaders.",[72],{"type":42,"value":14},{"type":42,"value":74}," ourselves, to create one scene with it: a small rollercoaster in a grassy field.\nA cart rides on rails along a track of curves, through a day that turns into night. When the sun goes down, lamp posts light up along the track, and a red button at the station sends the cart onto a second loop.\nWe used libraries only to load files. Everything that ends up on screen is our own OpenGL code.",{"type":29,"tag":38,"props":76,"children":77},{},[78,80,85,87,95,97,105,107,113,115,121,122,128,130,135,137,142],{"type":42,"value":79},"We wrote it in ",{"type":29,"tag":57,"props":81,"children":82},{},[83],{"type":42,"value":84},"C++20",{"type":42,"value":86},", with the shaders in ",{"type":29,"tag":57,"props":88,"children":89},{},[90],{"type":29,"tag":68,"props":91,"children":93},{"note":92},"The OpenGL Shading Language. Shaders are small programs in this language that run on the graphics card, for example to compute the color of every pixel.",[94],{"type":42,"value":15},{"type":42,"value":96}," and ",{"type":29,"tag":57,"props":98,"children":99},{},[100],{"type":29,"tag":68,"props":101,"children":103},{"note":102},"A small library that opens a window, creates the OpenGL context to draw in, and reads the keyboard and mouse.",[104],{"type":42,"value":16},{"type":42,"value":106}," for the window and input, and our own small classes around the OpenGL objects (shaders, textures, framebuffers, ",{"type":29,"tag":68,"props":108,"children":110},{"note":109},"Vertex Array Object. It remembers which buffers belong to a shape and how the graphics card must read them.",[111],{"type":42,"value":112},"VAO",{"type":42,"value":114},", ",{"type":29,"tag":68,"props":116,"children":118},{"note":117},"Vertex Buffer Object. It holds the data of every corner point of a shape on the graphics card, such as the position, normal and texture coordinates.",[119],{"type":42,"value":120},"VBO",{"type":42,"value":96},{"type":29,"tag":68,"props":123,"children":125},{"note":124},"Element Buffer Object. It holds the order in which the corner points form triangles, so a point that several triangles share is stored only once.",[126],{"type":42,"value":127},"EBO",{"type":42,"value":129},").\nThe code is split in two parts: a small ",{"type":29,"tag":57,"props":131,"children":132},{},[133],{"type":42,"value":134},"engine",{"type":42,"value":136}," library with the window, the cameras, the meshes, the scene and the render passes, and a ",{"type":29,"tag":57,"props":138,"children":139},{},[140],{"type":42,"value":141},"rollercoaster demo",{"type":42,"value":143}," that is built on top of it.",{"type":29,"tag":48,"props":145,"children":148},{"type":146,"style":147},"2-col","--gap: 4rem; --col-1: 50%",[149,189],{"type":29,"tag":38,"props":150,"children":151},{},[152,154,163,165,174,176,187],{"type":42,"value":153},"The track is two loops that share a station. Each loop is a list of waypoints, and between every two waypoints the code fits a cubic ",{"type":29,"tag":57,"props":155,"children":156},{},[157],{"type":29,"tag":68,"props":158,"children":160},{"note":159},"A smooth curve defined by a few control points. A cubic one has four: it starts at the first, ends at the last, and the two in the middle pull the curve toward them.",[161],{"type":42,"value":162},"Bézier curve",{"type":42,"value":164},".\nThe control points of each curve come from its neighbours, so the track flows from one curve into the next without a kink.\nWe sample the curves with ",{"type":29,"tag":57,"props":166,"children":167},{},[168],{"type":29,"tag":68,"props":169,"children":171},{"note":170},"A way to step along a curve by adding a few precomputed differences, instead of calculating the full formula again for every point.",[172],{"type":42,"value":173},"forward differencing",{"type":42,"value":175},", which only needs a few additions per point.\nFrom those samples, each loop builds an ",{"type":29,"tag":57,"props":177,"children":178},{},[179,185],{"type":29,"tag":68,"props":180,"children":182},{"note":181},"The real distance along a curve. A table from distance to curve parameter lets an object move at a constant speed.",[183],{"type":42,"value":184},"arc-length",{"type":42,"value":186}," table",{"type":42,"value":188},", so the cart moves at the same speed on the straight parts and in the curves.\nThe same table places the rail objects.",{"type":29,"tag":190,"props":191,"children":193},"project-image",{"alt":192,"src":20},"The two loops of the track at sunset",[],{"type":29,"tag":48,"props":195,"children":196},{"type":146,"style":147},[197,201],{"type":29,"tag":190,"props":198,"children":200},{"alt":199,"src":19},"The cart at the station, with the control post and its red button",[],{"type":29,"tag":202,"props":203,"children":204},"div",{},[205,210],{"type":29,"tag":38,"props":206,"children":207},{},[208],{"type":42,"value":209},"A cart rides on the rails and turns with the curves. At the station stands a control post with a red button.\nClick the button, and it starts to pulse. At the end of the lap, the cart switches to the other loop.",{"type":29,"tag":38,"props":211,"children":212},{},[213,215,224],{"type":42,"value":214},"That button works with ",{"type":29,"tag":57,"props":216,"children":217},{},[218],{"type":29,"tag":68,"props":219,"children":221},{"note":220},"Finding out which object is under the mouse by drawing each object in its own color off-screen and reading back the pixel.",[222],{"type":42,"value":223},"color picking",{"type":42,"value":225},". On a click, the clickable objects are drawn a second time to a hidden framebuffer, each in its own flat color.\nWe then read the color under the cursor and know exactly what you hit.",{"type":29,"tag":48,"props":227,"children":228},{"type":146,"style":147},[229,249],{"type":29,"tag":202,"props":230,"children":231},{},[232,237],{"type":29,"tag":38,"props":233,"children":234},{},[235],{"type":42,"value":236},"The scene has two cameras. A free camera flies around with the keyboard and mouse to look at the whole track, and a second camera rides in the cart to follow the ride in first person.\nThe arrow keys change the speed, and when the speed drops below zero, the ride goes in reverse.",{"type":29,"tag":38,"props":238,"children":239},{},[240,242,247],{"type":42,"value":241},"The engine can also load 3D models from ",{"type":29,"tag":68,"props":243,"children":245},{"note":244},"An open file format for 3D models, often called 'the JPEG of 3D'.",[246],{"type":42,"value":17},{"type":42,"value":248}," files.\nI wrote the loader on top of a JSON parser: it reads the accessors and buffer views by hand and turns them into vertex, normal, UV and index arrays for our own mesh class.",{"type":29,"tag":190,"props":250,"children":253},{"alt":251,"src":252},"The view from the camera in the cart","\u002Fimg\u002Fprojects\u002Fopengl-micro-engine\u002Fpov.jpg",[],{"type":29,"tag":48,"props":255,"children":256},{},[257],{"type":29,"tag":258,"props":259,"children":262},"project-video",{"alt":260,"src":261},"A ride in the cart in first person","\u002Fimg\u002Fprojects\u002Fopengl-micro-engine\u002Fcart-pov.mp4",[],{"type":29,"tag":48,"props":264,"children":265},{"type":146,"style":147},[266,271],{"type":29,"tag":258,"props":267,"children":270},{"alt":268,"src":269},"The day-night cycle of the scene","\u002Fimg\u002Fprojects\u002Fopengl-micro-engine\u002Fday-night.mp4",[],{"type":29,"tag":38,"props":272,"children":273},{},[274],{"type":42,"value":275},"The scene goes through a full day in two minutes. The sun moves across the sky and sets in orange, and then the moon and the stars come out.\nThe sky colors, the fog and the ambient light all follow the time of day.",{"type":29,"tag":48,"props":277,"children":278},{"type":146,"style":147},[279,299],{"type":29,"tag":38,"props":280,"children":281},{},[282,284,289,291,297],{"type":42,"value":283},"Lighting is done ",{"type":29,"tag":57,"props":285,"children":286},{},[287],{"type":42,"value":288},"per pixel",{"type":42,"value":290}," in the fragment shaders, with ",{"type":29,"tag":68,"props":292,"children":294},{"note":293},"A common lighting model. It adds the shiny highlight you see where a light reflects off a surface toward the camera.",[295],{"type":42,"value":296},"Blinn-Phong",{"type":42,"value":298}," highlights.\nEach surface gets ambient light from the sky and the ground, light from the sun or the moon, and fog in the color of the sky that hides the far edge of the world.\nWhen it gets dark, the lamp posts along the track turn on. Each lamp is a point light that fades out with distance, and it flickers a little like a flame.",{"type":29,"tag":190,"props":300,"children":303},{"alt":301,"src":302},"The lamp posts light up the grass and the track at night","\u002Fimg\u002Fprojects\u002Fopengl-micro-engine\u002Fnight.jpg",[],{"type":29,"tag":48,"props":305,"children":306},{"type":42},[307,327],{"type":29,"tag":38,"props":308,"children":309},{},[310,312,318,320,325],{"type":42,"value":311},"The finished frame never goes straight to the screen. It is first rendered in ",{"type":29,"tag":68,"props":313,"children":315},{"note":314},"High dynamic range. Colors can be brighter than white, so a lamp can be many times brighter than the grass next to it.",[316],{"type":42,"value":317},"HDR",{"type":42,"value":319}," to a ",{"type":29,"tag":57,"props":321,"children":322},{},[323],{"type":42,"value":324},"framebuffer object",{"type":42,"value":326}," with two outputs: the full scene, and only the parts that glow.\nThen a few passes draw it again on a quad that fills the screen:",{"type":29,"tag":328,"props":329,"children":330},"ul",{},[331,342,352,377],{"type":29,"tag":332,"props":333,"children":334},"li",{},[335,340],{"type":29,"tag":57,"props":336,"children":337},{},[338],{"type":42,"value":339},"Bloom",{"type":42,"value":341},": the glowing parts get blurred back and forth between two buffers at half resolution, and are added back on top so the lamps, the button and the sun glow.",{"type":29,"tag":332,"props":343,"children":344},{},[345,350],{"type":29,"tag":57,"props":346,"children":347},{},[348],{"type":42,"value":349},"Tone mapping",{"type":42,"value":351},": a filmic curve brings the HDR colors back to what a screen can show, with a higher exposure at night.",{"type":29,"tag":332,"props":353,"children":354},{},[355,360,362,367,369,375],{"type":29,"tag":57,"props":356,"children":357},{},[358],{"type":42,"value":359},"Gaussian blur",{"type":42,"value":361}," and a ",{"type":29,"tag":57,"props":363,"children":364},{},[365],{"type":42,"value":366},"Laplacian",{"type":42,"value":368}," edge filter, both with a ",{"type":29,"tag":68,"props":370,"children":372},{"note":371},"A small grid of numbers. Each pixel becomes a weighted mix of its neighbours, which can blur the image or bring out edges.",[373],{"type":42,"value":374},"convolution kernel",{"type":42,"value":376},", on keys 2 and 3.",{"type":29,"tag":332,"props":378,"children":379},{},[380,385,387,393],{"type":29,"tag":57,"props":381,"children":382},{},[383],{"type":42,"value":384},"Chroma keying",{"type":42,"value":386},": a decorated frame with a green centre is drawn over the scene, and the shader removes the green by comparing colors in the ",{"type":29,"tag":68,"props":388,"children":390},{"note":389},"A way to store color as brightness plus two color channels. This makes it easier to pick out 'green' regardless of how light or dark it is.",[391],{"type":42,"value":392},"YCbCr",{"type":42,"value":394}," color space.",{"type":29,"tag":48,"props":396,"children":398},{"type":146,"style":397},"--gap: 2rem; --col-1: 50%",[399,404],{"type":29,"tag":190,"props":400,"children":403},{"alt":401,"src":402},"Bloom on the lamps and the red button at night","\u002Fimg\u002Fprojects\u002Fopengl-micro-engine\u002Fstation-night.jpg",[],{"type":29,"tag":190,"props":405,"children":408},{"alt":406,"src":407},"The Laplacian edge filter on key 3","\u002Fimg\u002Fprojects\u002Fopengl-micro-engine\u002Fedges.jpg",[],{"type":29,"tag":48,"props":410,"children":412},{"type":411},"project-next",[413],{"type":29,"tag":411,"props":414,"children":415},{},[],{"title":7,"searchDepth":417,"depth":417,"links":418},2,[],"markdown","profile:project:opengl-micro-engine.md","profile","project\u002Fopengl-micro-engine.md","project\u002Fopengl-micro-engine","md",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"team":426,"tags":427,"image":19,"previewImage":20,"createdAt":21,"enabled":22,"live":23,"source":24,"body":428,"_type":419,"_id":420,"_source":421,"_file":422,"_stem":423,"_extension":424},[11],[13,14,15,16,17,18],{"type":26,"children":429,"toc":713},[430,440],{"type":29,"tag":30,"props":431,"children":432},{},[433],{"type":29,"tag":34,"props":434,"children":435},{},[436],{"type":29,"tag":38,"props":437,"children":438},{},[439],{"type":42,"value":8},{"type":29,"tag":44,"props":441,"children":442},{},[443,513,548,573,595,601,611,631,698,707],{"type":29,"tag":48,"props":444,"children":445},{"type":42},[446,463],{"type":29,"tag":38,"props":447,"children":448},{},[449,450,454,455,462],{"type":42,"value":55},{"type":29,"tag":57,"props":451,"children":452},{},[453],{"type":42,"value":61},{"type":42,"value":63},{"type":29,"tag":57,"props":456,"children":457},{},[458],{"type":29,"tag":68,"props":459,"children":460},{"note":70},[461],{"type":42,"value":14},{"type":42,"value":74},{"type":29,"tag":38,"props":464,"children":465},{},[466,467,471,472,479,480,487,488,492,493,497,498,502,503,507,508,512],{"type":42,"value":79},{"type":29,"tag":57,"props":468,"children":469},{},[470],{"type":42,"value":84},{"type":42,"value":86},{"type":29,"tag":57,"props":473,"children":474},{},[475],{"type":29,"tag":68,"props":476,"children":477},{"note":92},[478],{"type":42,"value":15},{"type":42,"value":96},{"type":29,"tag":57,"props":481,"children":482},{},[483],{"type":29,"tag":68,"props":484,"children":485},{"note":102},[486],{"type":42,"value":16},{"type":42,"value":106},{"type":29,"tag":68,"props":489,"children":490},{"note":109},[491],{"type":42,"value":112},{"type":42,"value":114},{"type":29,"tag":68,"props":494,"children":495},{"note":117},[496],{"type":42,"value":120},{"type":42,"value":96},{"type":29,"tag":68,"props":499,"children":500},{"note":124},[501],{"type":42,"value":127},{"type":42,"value":129},{"type":29,"tag":57,"props":504,"children":505},{},[506],{"type":42,"value":134},{"type":42,"value":136},{"type":29,"tag":57,"props":509,"children":510},{},[511],{"type":42,"value":141},{"type":42,"value":143},{"type":29,"tag":48,"props":514,"children":515},{"type":146,"style":147},[516,545],{"type":29,"tag":38,"props":517,"children":518},{},[519,520,527,528,535,536,544],{"type":42,"value":153},{"type":29,"tag":57,"props":521,"children":522},{},[523],{"type":29,"tag":68,"props":524,"children":525},{"note":159},[526],{"type":42,"value":162},{"type":42,"value":164},{"type":29,"tag":57,"props":529,"children":530},{},[531],{"type":29,"tag":68,"props":532,"children":533},{"note":170},[534],{"type":42,"value":173},{"type":42,"value":175},{"type":29,"tag":57,"props":537,"children":538},{},[539,543],{"type":29,"tag":68,"props":540,"children":541},{"note":181},[542],{"type":42,"value":184},{"type":42,"value":186},{"type":42,"value":188},{"type":29,"tag":190,"props":546,"children":547},{"alt":192,"src":20},[],{"type":29,"tag":48,"props":549,"children":550},{"type":146,"style":147},[551,554],{"type":29,"tag":190,"props":552,"children":553},{"alt":199,"src":19},[],{"type":29,"tag":202,"props":555,"children":556},{},[557,561],{"type":29,"tag":38,"props":558,"children":559},{},[560],{"type":42,"value":209},{"type":29,"tag":38,"props":562,"children":563},{},[564,565,572],{"type":42,"value":214},{"type":29,"tag":57,"props":566,"children":567},{},[568],{"type":29,"tag":68,"props":569,"children":570},{"note":220},[571],{"type":42,"value":223},{"type":42,"value":225},{"type":29,"tag":48,"props":574,"children":575},{"type":146,"style":147},[576,592],{"type":29,"tag":202,"props":577,"children":578},{},[579,583],{"type":29,"tag":38,"props":580,"children":581},{},[582],{"type":42,"value":236},{"type":29,"tag":38,"props":584,"children":585},{},[586,587,591],{"type":42,"value":241},{"type":29,"tag":68,"props":588,"children":589},{"note":244},[590],{"type":42,"value":17},{"type":42,"value":248},{"type":29,"tag":190,"props":593,"children":594},{"alt":251,"src":252},[],{"type":29,"tag":48,"props":596,"children":597},{},[598],{"type":29,"tag":258,"props":599,"children":600},{"alt":260,"src":261},[],{"type":29,"tag":48,"props":602,"children":603},{"type":146,"style":147},[604,607],{"type":29,"tag":258,"props":605,"children":606},{"alt":268,"src":269},[],{"type":29,"tag":38,"props":608,"children":609},{},[610],{"type":42,"value":275},{"type":29,"tag":48,"props":612,"children":613},{"type":146,"style":147},[614,628],{"type":29,"tag":38,"props":615,"children":616},{},[617,618,622,623,627],{"type":42,"value":283},{"type":29,"tag":57,"props":619,"children":620},{},[621],{"type":42,"value":288},{"type":42,"value":290},{"type":29,"tag":68,"props":624,"children":625},{"note":293},[626],{"type":42,"value":296},{"type":42,"value":298},{"type":29,"tag":190,"props":629,"children":630},{"alt":301,"src":302},[],{"type":29,"tag":48,"props":632,"children":633},{"type":42},[634,648],{"type":29,"tag":38,"props":635,"children":636},{},[637,638,642,643,647],{"type":42,"value":311},{"type":29,"tag":68,"props":639,"children":640},{"note":314},[641],{"type":42,"value":317},{"type":42,"value":319},{"type":29,"tag":57,"props":644,"children":645},{},[646],{"type":42,"value":324},{"type":42,"value":326},{"type":29,"tag":328,"props":649,"children":650},{},[651,659,667,685],{"type":29,"tag":332,"props":652,"children":653},{},[654,658],{"type":29,"tag":57,"props":655,"children":656},{},[657],{"type":42,"value":339},{"type":42,"value":341},{"type":29,"tag":332,"props":660,"children":661},{},[662,666],{"type":29,"tag":57,"props":663,"children":664},{},[665],{"type":42,"value":349},{"type":42,"value":351},{"type":29,"tag":332,"props":668,"children":669},{},[670,674,675,679,680,684],{"type":29,"tag":57,"props":671,"children":672},{},[673],{"type":42,"value":359},{"type":42,"value":361},{"type":29,"tag":57,"props":676,"children":677},{},[678],{"type":42,"value":366},{"type":42,"value":368},{"type":29,"tag":68,"props":681,"children":682},{"note":371},[683],{"type":42,"value":374},{"type":42,"value":376},{"type":29,"tag":332,"props":686,"children":687},{},[688,692,693,697],{"type":29,"tag":57,"props":689,"children":690},{},[691],{"type":42,"value":384},{"type":42,"value":386},{"type":29,"tag":68,"props":694,"children":695},{"note":389},[696],{"type":42,"value":392},{"type":42,"value":394},{"type":29,"tag":48,"props":699,"children":700},{"type":146,"style":397},[701,704],{"type":29,"tag":190,"props":702,"children":703},{"alt":401,"src":402},[],{"type":29,"tag":190,"props":705,"children":706},{"alt":406,"src":407},[],{"type":29,"tag":48,"props":708,"children":709},{"type":411},[710],{"type":29,"tag":411,"props":711,"children":712},{},[],{"title":7,"searchDepth":417,"depth":417,"links":714},[],{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"team":716,"tags":717,"image":19,"previewImage":20,"createdAt":21,"enabled":22,"live":23,"source":24,"body":718,"_type":419,"_id":420,"_source":421,"_file":422,"_stem":423,"_extension":424},[11],[13,14,15,16,17,18],{"type":26,"children":719,"toc":1003},[720,730],{"type":29,"tag":30,"props":721,"children":722},{},[723],{"type":29,"tag":34,"props":724,"children":725},{},[726],{"type":29,"tag":38,"props":727,"children":728},{},[729],{"type":42,"value":8},{"type":29,"tag":44,"props":731,"children":732},{},[733,803,838,863,885,891,901,921,988,997],{"type":29,"tag":48,"props":734,"children":735},{"type":42},[736,753],{"type":29,"tag":38,"props":737,"children":738},{},[739,740,744,745,752],{"type":42,"value":55},{"type":29,"tag":57,"props":741,"children":742},{},[743],{"type":42,"value":61},{"type":42,"value":63},{"type":29,"tag":57,"props":746,"children":747},{},[748],{"type":29,"tag":68,"props":749,"children":750},{"note":70},[751],{"type":42,"value":14},{"type":42,"value":74},{"type":29,"tag":38,"props":754,"children":755},{},[756,757,761,762,769,770,777,778,782,783,787,788,792,793,797,798,802],{"type":42,"value":79},{"type":29,"tag":57,"props":758,"children":759},{},[760],{"type":42,"value":84},{"type":42,"value":86},{"type":29,"tag":57,"props":763,"children":764},{},[765],{"type":29,"tag":68,"props":766,"children":767},{"note":92},[768],{"type":42,"value":15},{"type":42,"value":96},{"type":29,"tag":57,"props":771,"children":772},{},[773],{"type":29,"tag":68,"props":774,"children":775},{"note":102},[776],{"type":42,"value":16},{"type":42,"value":106},{"type":29,"tag":68,"props":779,"children":780},{"note":109},[781],{"type":42,"value":112},{"type":42,"value":114},{"type":29,"tag":68,"props":784,"children":785},{"note":117},[786],{"type":42,"value":120},{"type":42,"value":96},{"type":29,"tag":68,"props":789,"children":790},{"note":124},[791],{"type":42,"value":127},{"type":42,"value":129},{"type":29,"tag":57,"props":794,"children":795},{},[796],{"type":42,"value":134},{"type":42,"value":136},{"type":29,"tag":57,"props":799,"children":800},{},[801],{"type":42,"value":141},{"type":42,"value":143},{"type":29,"tag":48,"props":804,"children":805},{"type":146,"style":147},[806,835],{"type":29,"tag":38,"props":807,"children":808},{},[809,810,817,818,825,826,834],{"type":42,"value":153},{"type":29,"tag":57,"props":811,"children":812},{},[813],{"type":29,"tag":68,"props":814,"children":815},{"note":159},[816],{"type":42,"value":162},{"type":42,"value":164},{"type":29,"tag":57,"props":819,"children":820},{},[821],{"type":29,"tag":68,"props":822,"children":823},{"note":170},[824],{"type":42,"value":173},{"type":42,"value":175},{"type":29,"tag":57,"props":827,"children":828},{},[829,833],{"type":29,"tag":68,"props":830,"children":831},{"note":181},[832],{"type":42,"value":184},{"type":42,"value":186},{"type":42,"value":188},{"type":29,"tag":190,"props":836,"children":837},{"alt":192,"src":20},[],{"type":29,"tag":48,"props":839,"children":840},{"type":146,"style":147},[841,844],{"type":29,"tag":190,"props":842,"children":843},{"alt":199,"src":19},[],{"type":29,"tag":202,"props":845,"children":846},{},[847,851],{"type":29,"tag":38,"props":848,"children":849},{},[850],{"type":42,"value":209},{"type":29,"tag":38,"props":852,"children":853},{},[854,855,862],{"type":42,"value":214},{"type":29,"tag":57,"props":856,"children":857},{},[858],{"type":29,"tag":68,"props":859,"children":860},{"note":220},[861],{"type":42,"value":223},{"type":42,"value":225},{"type":29,"tag":48,"props":864,"children":865},{"type":146,"style":147},[866,882],{"type":29,"tag":202,"props":867,"children":868},{},[869,873],{"type":29,"tag":38,"props":870,"children":871},{},[872],{"type":42,"value":236},{"type":29,"tag":38,"props":874,"children":875},{},[876,877,881],{"type":42,"value":241},{"type":29,"tag":68,"props":878,"children":879},{"note":244},[880],{"type":42,"value":17},{"type":42,"value":248},{"type":29,"tag":190,"props":883,"children":884},{"alt":251,"src":252},[],{"type":29,"tag":48,"props":886,"children":887},{},[888],{"type":29,"tag":258,"props":889,"children":890},{"alt":260,"src":261},[],{"type":29,"tag":48,"props":892,"children":893},{"type":146,"style":147},[894,897],{"type":29,"tag":258,"props":895,"children":896},{"alt":268,"src":269},[],{"type":29,"tag":38,"props":898,"children":899},{},[900],{"type":42,"value":275},{"type":29,"tag":48,"props":902,"children":903},{"type":146,"style":147},[904,918],{"type":29,"tag":38,"props":905,"children":906},{},[907,908,912,913,917],{"type":42,"value":283},{"type":29,"tag":57,"props":909,"children":910},{},[911],{"type":42,"value":288},{"type":42,"value":290},{"type":29,"tag":68,"props":914,"children":915},{"note":293},[916],{"type":42,"value":296},{"type":42,"value":298},{"type":29,"tag":190,"props":919,"children":920},{"alt":301,"src":302},[],{"type":29,"tag":48,"props":922,"children":923},{"type":42},[924,938],{"type":29,"tag":38,"props":925,"children":926},{},[927,928,932,933,937],{"type":42,"value":311},{"type":29,"tag":68,"props":929,"children":930},{"note":314},[931],{"type":42,"value":317},{"type":42,"value":319},{"type":29,"tag":57,"props":934,"children":935},{},[936],{"type":42,"value":324},{"type":42,"value":326},{"type":29,"tag":328,"props":939,"children":940},{},[941,949,957,975],{"type":29,"tag":332,"props":942,"children":943},{},[944,948],{"type":29,"tag":57,"props":945,"children":946},{},[947],{"type":42,"value":339},{"type":42,"value":341},{"type":29,"tag":332,"props":950,"children":951},{},[952,956],{"type":29,"tag":57,"props":953,"children":954},{},[955],{"type":42,"value":349},{"type":42,"value":351},{"type":29,"tag":332,"props":958,"children":959},{},[960,964,965,969,970,974],{"type":29,"tag":57,"props":961,"children":962},{},[963],{"type":42,"value":359},{"type":42,"value":361},{"type":29,"tag":57,"props":966,"children":967},{},[968],{"type":42,"value":366},{"type":42,"value":368},{"type":29,"tag":68,"props":971,"children":972},{"note":371},[973],{"type":42,"value":374},{"type":42,"value":376},{"type":29,"tag":332,"props":976,"children":977},{},[978,982,983,987],{"type":29,"tag":57,"props":979,"children":980},{},[981],{"type":42,"value":384},{"type":42,"value":386},{"type":29,"tag":68,"props":984,"children":985},{"note":389},[986],{"type":42,"value":392},{"type":42,"value":394},{"type":29,"tag":48,"props":989,"children":990},{"type":146,"style":397},[991,994],{"type":29,"tag":190,"props":992,"children":993},{"alt":401,"src":402},[],{"type":29,"tag":190,"props":995,"children":996},{"alt":406,"src":407},[],{"type":29,"tag":48,"props":998,"children":999},{"type":411},[1000],{"type":29,"tag":411,"props":1001,"children":1002},{},[],{"title":7,"searchDepth":417,"depth":417,"links":1004},[],{"_path":1006,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":1007,"description":1008,"tags":1009,"image":1016,"previewImage":1016,"paper":1017,"paperLanguage":1018,"createdAt":1019,"enabled":22,"body":1020,"_type":419,"_id":1383,"_source":421,"_file":1384,"_stem":1385,"_extension":424},"\u002Fproject\u002Faerostats","Aerostats","A multi-tenant backend on a distributed Cassandra cluster, where every balloon operator, workshop and pilot keeps their own flight logs on their own node.",[1010,1011,1012,1013,1014,1015],"Java","Spring Boot","Apache Cassandra","Docker","Google Auth","Google Cloud","\u002Fimg\u002Fprojects\u002Faerostats\u002Fcover.png","\u002Fproject\u002Faerostats\u002Fpaper","Dutch","2024-06-18T00:00:00+03:00",{"type":26,"children":1021,"toc":1381},[1022,1032],{"type":29,"tag":30,"props":1023,"children":1024},{},[1025],{"type":29,"tag":34,"props":1026,"children":1027},{},[1028],{"type":29,"tag":38,"props":1029,"children":1030},{},[1031],{"type":42,"value":1007},{"type":29,"tag":44,"props":1033,"children":1034},{},[1035,1085,1148,1186,1223,1243,1282,1311,1359,1367,1375],{"type":29,"tag":48,"props":1036,"children":1037},{"type":42},[1038,1061,1072],{"type":29,"tag":38,"props":1039,"children":1040},{},[1041,1043,1048,1050,1059],{"type":42,"value":1042},"Aerostats is a system where balloon pilots, operators and workshops each keep their flight logs on their own server, but can still check them against each other.\nThis was my internship and bachelor thesis at ",{"type":29,"tag":57,"props":1044,"children":1045},{},[1046],{"type":42,"value":1047},"UPconsulting",{"type":42,"value":1049},", the company behind ",{"type":29,"tag":1051,"props":1052,"children":1056},"a",{"href":1053,"rel":1054},"https:\u002F\u002Fquickrelease.aero\u002Fen\u002F",[1055],"nofollow",[1057],{"type":42,"value":1058},"QuickRelease",{"type":42,"value":1060},".",{"type":29,"tag":38,"props":1062,"children":1063},{},[1064,1070],{"type":29,"tag":68,"props":1065,"children":1067},{"note":1066},"European Union Aviation Safety Agency, the EU authority for aviation safety.",[1068],{"type":42,"value":1069},"EASA",{"type":42,"value":1071}," requires every balloon flight to be logged twice, once in the pilot's logbook and once in the balloon's.\nMost of those logs are still on paper and spread over different people, so checking if they match takes a lot of work.",{"type":29,"tag":38,"props":1073,"children":1074},{},[1075,1077,1083],{"type":42,"value":1076},"I already knew the domain from ",{"type":29,"tag":1051,"props":1078,"children":1080},{"href":1079},"\u002Fproject\u002Fflite",[1081],{"type":42,"value":1082},"Flite",{"type":42,"value":1084},", a pilot logbook from an earlier project,\nso I started with a few features in UPconsulting's existing apps before building Aerostats.",{"type":29,"tag":48,"props":1086,"children":1088},{"type":146,"style":1087},"--gap: 4rem; --col-1: 65%",[1089,1143],{"type":29,"tag":202,"props":1090,"children":1091},{},[1092,1104],{"type":29,"tag":38,"props":1093,"children":1094},{},[1095,1097,1102],{"type":42,"value":1096},"The hard part was the database. Every party needs their own server (a node), the data has to survive when one of them leaves,\nand the nodes still have to share data to compare logs. I tested four distributed databases in ",{"type":29,"tag":68,"props":1098,"children":1100},{"note":1099},"A tool that packs an app with everything it needs, so it runs the same on any computer.",[1101],{"type":42,"value":1013},{"type":42,"value":1103},":",{"type":29,"tag":328,"props":1105,"children":1106},{},[1107,1117,1133],{"type":29,"tag":332,"props":1108,"children":1109},{},[1110,1115],{"type":29,"tag":57,"props":1111,"children":1112},{},[1113],{"type":42,"value":1114},"MongoDB",{"type":42,"value":1116}," can split data over servers, but not per party without security risks.",{"type":29,"tag":332,"props":1118,"children":1119},{},[1120,1125,1126,1131],{"type":29,"tag":57,"props":1121,"children":1122},{},[1123],{"type":42,"value":1124},"OrbitDB",{"type":42,"value":96},{"type":29,"tag":57,"props":1127,"children":1128},{},[1129],{"type":42,"value":1130},"GUN",{"type":42,"value":1132}," have outdated code, little documentation and no proper way to copy data between nodes.",{"type":29,"tag":332,"props":1134,"children":1135},{},[1136,1141],{"type":29,"tag":57,"props":1137,"children":1138},{},[1139],{"type":42,"value":1140},"AntidoteDB",{"type":42,"value":1142}," keeps parties apart well, but is too new and unstable.",{"type":29,"tag":190,"props":1144,"children":1147},{"alt":1145,"src":1146},"One Aerostats node: the API and its own share of the distributed database","\u002Fimg\u002Fprojects\u002Faerostats\u002Ftenant-node.jpg",[],{"type":29,"tag":48,"props":1149,"children":1150},{"type":146,"style":147},[1151,1160],{"type":29,"tag":38,"props":1152,"children":1153},{},[1154,1158],{"type":29,"tag":57,"props":1155,"children":1156},{},[1157],{"type":42,"value":1012},{"type":42,"value":1159}," fit best. Its nodes form a ring where every node can read and write,\nand every row is copied to a set number of other nodes. If a node goes offline, its data is still on the others.",{"type":29,"tag":202,"props":1161,"children":1162},{},[1163,1168],{"type":29,"tag":190,"props":1164,"children":1167},{"alt":1165,"src":1166},"The Cassandra ring architecture","\u002Fimg\u002Fprojects\u002Faerostats\u002Fcassandra-ring.png",[],{"type":29,"tag":38,"props":1169,"children":1170},{},[1171],{"type":29,"tag":1172,"props":1173,"children":1174},"small",{},[1175,1177,1184],{"type":42,"value":1176},"Source: ",{"type":29,"tag":1051,"props":1178,"children":1181},{"href":1179,"rel":1180},"https:\u002F\u002Fcassandra.apache.org\u002Fdoc\u002Flatest\u002Fcassandra",[1055],[1182],{"type":42,"value":1183},"Apache Cassandra documentation",{"type":42,"value":1185},", Apache Cassandra Foundation.",{"type":29,"tag":48,"props":1187,"children":1189},{"type":146,"style":1188},"--gap: 4rem; --col-1: 60%",[1190,1218],{"type":29,"tag":202,"props":1191,"children":1192},{},[1193,1213],{"type":29,"tag":38,"props":1194,"children":1195},{},[1196,1198,1203,1205,1211],{"type":42,"value":1197},"The backend is a ",{"type":29,"tag":57,"props":1199,"children":1200},{},[1201],{"type":42,"value":1202},"Java 21 \u002F Spring Boot 3",{"type":42,"value":1204}," ",{"type":29,"tag":68,"props":1206,"children":1208},{"note":1207},"Application Programming Interface, the part of a program that other programs talk to.",[1209],{"type":42,"value":1210},"API",{"type":42,"value":1212},".\nSpring Data Cassandra no longer sets up the database or reconnects on its own, so I wrote that configuration myself.\nEvery table is built around the one request that reads it, which is how Cassandra stays fast.",{"type":29,"tag":38,"props":1214,"children":1215},{},[1216],{"type":42,"value":1217},"When a log is added, the backend searches the other nodes for the matching pilot or balloon log\nand compares the important fields within a small margin. If they match, both logs are marked as verified.",{"type":29,"tag":190,"props":1219,"children":1222},{"alt":1220,"src":1221},"Project structure of the backend","\u002Fimg\u002Fprojects\u002Faerostats\u002Fproject-structure.png",[],{"type":29,"tag":48,"props":1224,"children":1225},{"type":146,"style":147},[1226,1231],{"type":29,"tag":190,"props":1227,"children":1230},{"alt":1228,"src":1229},"Auth flow","\u002Fimg\u002Fprojects\u002Faerostats\u002Fauth-flow.png",[],{"type":29,"tag":38,"props":1232,"children":1233},{},[1234,1236,1241],{"type":42,"value":1235},"Login goes through ",{"type":29,"tag":57,"props":1237,"children":1238},{},[1239],{"type":42,"value":1240},"Google Identity Platform",{"type":42,"value":1242},", so one account works on every node.\nWhat a user is allowed to do is decided per node: a pilot can edit their own logs, but only read a balloon's logs on a workshop's node.",{"type":29,"tag":48,"props":1244,"children":1245},{"type":146,"style":147},[1246,1277],{"type":29,"tag":202,"props":1247,"children":1248},{},[1249,1272],{"type":29,"tag":38,"props":1250,"children":1251},{},[1252,1254,1258,1260,1264,1266,1271],{"type":42,"value":1253},"Everything runs in ",{"type":29,"tag":57,"props":1255,"children":1256},{},[1257],{"type":42,"value":1013},{"type":42,"value":1259},", so anyone can host their own node.\nThe test setup runs on ",{"type":29,"tag":57,"props":1261,"children":1262},{},[1263],{"type":42,"value":1015},{"type":42,"value":1265},", with three virtual machines for Cassandra and three backends on ",{"type":29,"tag":57,"props":1267,"children":1268},{},[1269],{"type":42,"value":1270},"Cloud Run",{"type":42,"value":1060},{"type":29,"tag":38,"props":1273,"children":1274},{},[1275],{"type":42,"value":1276},"Most of the debugging went into nodes that blocked each other when started in the wrong order,\nand backends that redid the database setup every time Cloud Run started them up again.",{"type":29,"tag":190,"props":1278,"children":1281},{"alt":1279,"src":1280},"Swagger UI of a deployed node","\u002Fimg\u002Fprojects\u002Faerostats\u002Fswagger.png",[],{"type":29,"tag":48,"props":1283,"children":1285},{"type":146,"style":1284},"--gap: 4rem; --col-1: 55%",[1286,1306],{"type":29,"tag":202,"props":1287,"children":1288},{},[1289,1294],{"type":29,"tag":38,"props":1290,"children":1291},{},[1292],{"type":42,"value":1293},"The first version works. An admin gives users access, pilots add pilot and balloon logs,\nand matching logs are verified across three nodes.",{"type":29,"tag":38,"props":1295,"children":1296},{},[1297,1299,1304],{"type":42,"value":1298},"The next step is a ",{"type":29,"tag":57,"props":1300,"children":1301},{},[1302],{"type":42,"value":1303},"community cluster",{"type":42,"value":1305},". A new workshop or pilot asks to join with their own node,\nand the nodes already in the ring decide whether to accept it.\nA frontend and links to UPconsulting's other apps are also still missing.",{"type":29,"tag":190,"props":1307,"children":1310},{"alt":1308,"src":1309},"Concept of a community driven cluster","\u002Fimg\u002Fprojects\u002Faerostats\u002Fcommunity-cluster.png",[],{"type":29,"tag":48,"props":1312,"children":1313},{"type":42},[1314,1319],{"type":29,"tag":38,"props":1315,"children":1316},{},[1317],{"type":42,"value":1318},"Thanks to everyone who helped me during the internship:",{"type":29,"tag":328,"props":1320,"children":1321},{},[1322,1332,1342],{"type":29,"tag":332,"props":1323,"children":1324},{},[1325,1330],{"type":29,"tag":57,"props":1326,"children":1327},{},[1328],{"type":42,"value":1329},"Wim Maet",{"type":42,"value":1331}," — Mentor at UPconsulting",{"type":29,"tag":332,"props":1333,"children":1334},{},[1335,1340],{"type":29,"tag":57,"props":1336,"children":1337},{},[1338],{"type":42,"value":1339},"Arno Barzan",{"type":42,"value":1341}," — Internal supervisor at PXL",{"type":29,"tag":332,"props":1343,"children":1344},{},[1345,1350,1352,1357],{"type":29,"tag":57,"props":1346,"children":1347},{},[1348],{"type":42,"value":1349},"Saskia Schoefs",{"type":42,"value":1351}," & ",{"type":29,"tag":57,"props":1353,"children":1354},{},[1355],{"type":42,"value":1356},"Kim Sleurs",{"type":42,"value":1358}," — Language coaches",{"type":29,"tag":48,"props":1360,"children":1361},{"type":42},[1362],{"type":29,"tag":38,"props":1363,"children":1364},{},[1365],{"type":42,"value":1366},"The demo below shows a request without login being refused, then pilot and balloon logs added on two nodes,\nand the matching logs marked as verified.",{"type":29,"tag":48,"props":1368,"children":1369},{},[1370],{"type":29,"tag":258,"props":1371,"children":1374},{"alt":1372,"src":1373},"Demo of two Aerostats nodes in Swagger UI","\u002Fimg\u002Fprojects\u002Faerostats\u002Fdemo.mp4",[],{"type":29,"tag":48,"props":1376,"children":1377},{"type":411},[1378],{"type":29,"tag":411,"props":1379,"children":1380},{},[],{"title":7,"searchDepth":417,"depth":417,"links":1382},[],"profile:project:aerostats.md","project\u002Faerostats.md","project\u002Faerostats",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"team":1387,"tags":1388,"image":19,"previewImage":20,"createdAt":21,"enabled":22,"live":23,"source":24,"body":1389,"_type":419,"_id":420,"_source":421,"_file":422,"_stem":423,"_extension":424},[11],[13,14,15,16,17,18],{"type":26,"children":1390,"toc":1674},[1391,1401],{"type":29,"tag":30,"props":1392,"children":1393},{},[1394],{"type":29,"tag":34,"props":1395,"children":1396},{},[1397],{"type":29,"tag":38,"props":1398,"children":1399},{},[1400],{"type":42,"value":8},{"type":29,"tag":44,"props":1402,"children":1403},{},[1404,1474,1509,1534,1556,1562,1572,1592,1659,1668],{"type":29,"tag":48,"props":1405,"children":1406},{"type":42},[1407,1424],{"type":29,"tag":38,"props":1408,"children":1409},{},[1410,1411,1415,1416,1423],{"type":42,"value":55},{"type":29,"tag":57,"props":1412,"children":1413},{},[1414],{"type":42,"value":61},{"type":42,"value":63},{"type":29,"tag":57,"props":1417,"children":1418},{},[1419],{"type":29,"tag":68,"props":1420,"children":1421},{"note":70},[1422],{"type":42,"value":14},{"type":42,"value":74},{"type":29,"tag":38,"props":1425,"children":1426},{},[1427,1428,1432,1433,1440,1441,1448,1449,1453,1454,1458,1459,1463,1464,1468,1469,1473],{"type":42,"value":79},{"type":29,"tag":57,"props":1429,"children":1430},{},[1431],{"type":42,"value":84},{"type":42,"value":86},{"type":29,"tag":57,"props":1434,"children":1435},{},[1436],{"type":29,"tag":68,"props":1437,"children":1438},{"note":92},[1439],{"type":42,"value":15},{"type":42,"value":96},{"type":29,"tag":57,"props":1442,"children":1443},{},[1444],{"type":29,"tag":68,"props":1445,"children":1446},{"note":102},[1447],{"type":42,"value":16},{"type":42,"value":106},{"type":29,"tag":68,"props":1450,"children":1451},{"note":109},[1452],{"type":42,"value":112},{"type":42,"value":114},{"type":29,"tag":68,"props":1455,"children":1456},{"note":117},[1457],{"type":42,"value":120},{"type":42,"value":96},{"type":29,"tag":68,"props":1460,"children":1461},{"note":124},[1462],{"type":42,"value":127},{"type":42,"value":129},{"type":29,"tag":57,"props":1465,"children":1466},{},[1467],{"type":42,"value":134},{"type":42,"value":136},{"type":29,"tag":57,"props":1470,"children":1471},{},[1472],{"type":42,"value":141},{"type":42,"value":143},{"type":29,"tag":48,"props":1475,"children":1476},{"type":146,"style":147},[1477,1506],{"type":29,"tag":38,"props":1478,"children":1479},{},[1480,1481,1488,1489,1496,1497,1505],{"type":42,"value":153},{"type":29,"tag":57,"props":1482,"children":1483},{},[1484],{"type":29,"tag":68,"props":1485,"children":1486},{"note":159},[1487],{"type":42,"value":162},{"type":42,"value":164},{"type":29,"tag":57,"props":1490,"children":1491},{},[1492],{"type":29,"tag":68,"props":1493,"children":1494},{"note":170},[1495],{"type":42,"value":173},{"type":42,"value":175},{"type":29,"tag":57,"props":1498,"children":1499},{},[1500,1504],{"type":29,"tag":68,"props":1501,"children":1502},{"note":181},[1503],{"type":42,"value":184},{"type":42,"value":186},{"type":42,"value":188},{"type":29,"tag":190,"props":1507,"children":1508},{"alt":192,"src":20},[],{"type":29,"tag":48,"props":1510,"children":1511},{"type":146,"style":147},[1512,1515],{"type":29,"tag":190,"props":1513,"children":1514},{"alt":199,"src":19},[],{"type":29,"tag":202,"props":1516,"children":1517},{},[1518,1522],{"type":29,"tag":38,"props":1519,"children":1520},{},[1521],{"type":42,"value":209},{"type":29,"tag":38,"props":1523,"children":1524},{},[1525,1526,1533],{"type":42,"value":214},{"type":29,"tag":57,"props":1527,"children":1528},{},[1529],{"type":29,"tag":68,"props":1530,"children":1531},{"note":220},[1532],{"type":42,"value":223},{"type":42,"value":225},{"type":29,"tag":48,"props":1535,"children":1536},{"type":146,"style":147},[1537,1553],{"type":29,"tag":202,"props":1538,"children":1539},{},[1540,1544],{"type":29,"tag":38,"props":1541,"children":1542},{},[1543],{"type":42,"value":236},{"type":29,"tag":38,"props":1545,"children":1546},{},[1547,1548,1552],{"type":42,"value":241},{"type":29,"tag":68,"props":1549,"children":1550},{"note":244},[1551],{"type":42,"value":17},{"type":42,"value":248},{"type":29,"tag":190,"props":1554,"children":1555},{"alt":251,"src":252},[],{"type":29,"tag":48,"props":1557,"children":1558},{},[1559],{"type":29,"tag":258,"props":1560,"children":1561},{"alt":260,"src":261},[],{"type":29,"tag":48,"props":1563,"children":1564},{"type":146,"style":147},[1565,1568],{"type":29,"tag":258,"props":1566,"children":1567},{"alt":268,"src":269},[],{"type":29,"tag":38,"props":1569,"children":1570},{},[1571],{"type":42,"value":275},{"type":29,"tag":48,"props":1573,"children":1574},{"type":146,"style":147},[1575,1589],{"type":29,"tag":38,"props":1576,"children":1577},{},[1578,1579,1583,1584,1588],{"type":42,"value":283},{"type":29,"tag":57,"props":1580,"children":1581},{},[1582],{"type":42,"value":288},{"type":42,"value":290},{"type":29,"tag":68,"props":1585,"children":1586},{"note":293},[1587],{"type":42,"value":296},{"type":42,"value":298},{"type":29,"tag":190,"props":1590,"children":1591},{"alt":301,"src":302},[],{"type":29,"tag":48,"props":1593,"children":1594},{"type":42},[1595,1609],{"type":29,"tag":38,"props":1596,"children":1597},{},[1598,1599,1603,1604,1608],{"type":42,"value":311},{"type":29,"tag":68,"props":1600,"children":1601},{"note":314},[1602],{"type":42,"value":317},{"type":42,"value":319},{"type":29,"tag":57,"props":1605,"children":1606},{},[1607],{"type":42,"value":324},{"type":42,"value":326},{"type":29,"tag":328,"props":1610,"children":1611},{},[1612,1620,1628,1646],{"type":29,"tag":332,"props":1613,"children":1614},{},[1615,1619],{"type":29,"tag":57,"props":1616,"children":1617},{},[1618],{"type":42,"value":339},{"type":42,"value":341},{"type":29,"tag":332,"props":1621,"children":1622},{},[1623,1627],{"type":29,"tag":57,"props":1624,"children":1625},{},[1626],{"type":42,"value":349},{"type":42,"value":351},{"type":29,"tag":332,"props":1629,"children":1630},{},[1631,1635,1636,1640,1641,1645],{"type":29,"tag":57,"props":1632,"children":1633},{},[1634],{"type":42,"value":359},{"type":42,"value":361},{"type":29,"tag":57,"props":1637,"children":1638},{},[1639],{"type":42,"value":366},{"type":42,"value":368},{"type":29,"tag":68,"props":1642,"children":1643},{"note":371},[1644],{"type":42,"value":374},{"type":42,"value":376},{"type":29,"tag":332,"props":1647,"children":1648},{},[1649,1653,1654,1658],{"type":29,"tag":57,"props":1650,"children":1651},{},[1652],{"type":42,"value":384},{"type":42,"value":386},{"type":29,"tag":68,"props":1655,"children":1656},{"note":389},[1657],{"type":42,"value":392},{"type":42,"value":394},{"type":29,"tag":48,"props":1660,"children":1661},{"type":146,"style":397},[1662,1665],{"type":29,"tag":190,"props":1663,"children":1664},{"alt":401,"src":402},[],{"type":29,"tag":190,"props":1666,"children":1667},{"alt":406,"src":407},[],{"type":29,"tag":48,"props":1669,"children":1670},{"type":411},[1671],{"type":29,"tag":411,"props":1672,"children":1673},{},[],{"title":7,"searchDepth":417,"depth":417,"links":1675},[],1796227133038]