Contents
Corner Lab User Guide
Analyze one corner. Understand the difference. Keep a reusable definition.
Corner Lab v1.0 Beta · November 17, 2026
This guide takes you from saved GT7 telemetry to a corner comparison, then shows how to refine and reuse your corner definitions. Screenshots use real Fuji laps in a Porsche 911 GT3. Lap times and detected boundaries are examples from this dataset; yours will differ.
1. Start Corner Lab
- Double-click
start_corner_lab.batin the project folder. - Wait for the launcher to prepare the interface and open the browser. The normal address is
http://127.0.0.1:8785/. If that port is occupied, the launcher chooses an available port through 8794. - Keep the launcher console open while using the app. To stop Corner Lab, return to that console and press Ctrl+C.
On a computer that has not been set up, run setup.bat first. Corner Lab uses saved CSV files; you do not need to start a live GT7 recording session or the main analysis app to use it.
Use a desktop browser at 100% zoom for the full workspace. Smaller screens stack the panels vertically. The corner index and the contents of each tab can scroll separately.
2. Get to know the workspace

The workspace has four main areas:
| Area | What you do here |
|---|---|
| Left sidebar | Data selects laps. Detection adjusts corner detection and opens the manual editor. Save / Load reopens and transfers definitions. |
| Definition header | Rename the definition, use Undo and Redo, check the save state and choose Save definition. |
| Corner map and index | Select a T number, inspect its boundaries and see a section time delta. |
| Right workspace | Switch between Traces and Feature analysis. |
The map and index refer to the same selected corner. T numbers follow the definition's detected sections and are not guaranteed to match a circuit's official corner numbers. A representative point is estimated from curvature; it is not necessarily the driving apex.
3. Choose your data
- Open Data in the sidebar.
- Choose a Track, then a Car. For the walkthrough, use Fuji and Porsche 911 GT3.
- Check Comparison reference. The app initially chooses the fastest available replay for the same track and car. You can select a different replay; Use fastest replay returns to the automatic choice after a manual selection.
- Use Reload laps to look for new recordings while keeping your current conditions and manual selection where possible. Use latest data instead switches to the latest available track/car context and its automatic reference.
If no laps appear, open Data and definition options, enter the folder containing your CSV files in CSV folder, then choose Reload laps. Changing the folder is applied and saved when you reload.

The definition source and comparison reference serve different purposes
The definition source lap provides the fixed track trace and the geometry used to create corner boundaries. The comparison reference is the replay against which your driving is analyzed. Changing the comparison reference does not recreate corner boundaries or IDs.
For an existing track, Corner Lab can keep its current definition when you change cars. If you deliberately want a new definition from another lap:
- Open Data and definition options.
- Choose Definition source lap.
- Choose Create definition from this lap, confirming replacement of unsaved work if prompted.
This action recreates boundaries and IDs. Save or export an existing definition first if you need to keep it. Usually, changing only the comparison reference is sufficient.
Leave Coordinate unit on Auto (speed and movement) unless your CSV requires an explicit unit. Layout and direction records definition metadata; changing driving direction does not reverse the trace. Distances remain measured from the CSV start point.
4. Select and inspect a corner
- Click a T number on the Corner map, or click its row in Corners.
- Open Traces to see the source lap's curvature, speed, throttle/brake and steering channels.
- Choose Zoom to selected corner to inspect the selected section closely. Move over the traces or click the map trace to move the distance cursor.
- Use the map's +, − and reset buttons to adjust the map. You can also drag the map to pan and use the wheel to zoom.

The index initially compares the fastest full Live/Race lap for this track and car against the comparison reference. Its personal best remains the same when you change the detailed analysis filters. A positive section delta means the self lap took longer than the reference over that physical section; a negative delta means it took less time.
Use the order menu above the index to switch between track order and ascending/descending section delta. Scroll within the index to reach corners below the visible rows.
5. Edit a corner and save the definition
- Select a corner and choose Edit section below the corner index. This opens Detection → Edit corners manually.
- Enter a name if useful. The example names T1 First corner.
- Adjust Turn direction, Start / m, Representative point / m or End / m as needed.
- Choose Apply changes. Confirm the updated corner in the map or index.
- Change the definition name in the top header if needed, then choose Save definition. The header changes to Saved.

Apply changes updates the working definition. Save definition stores it for reuse. Use the header's Undo and Redo buttons to move through edits before saving the desired state. Editing a definition clears the detailed comparison result, so run Compare again afterward.
For a section that crosses the CSV origin, its start distance can be greater than its end distance. The representative point must belong to the intended interval.
Other editing tools
- Split at cursor: place the cursor inside a section, then split it into two sections.
- Merge with next: combine the selected section with its next neighbor when both turn in the same direction. The button is disabled when merging is unavailable.
- Add corner at cursor: use the + button above the corner index to add a corner in a free location.
- Delete selected corner: use the trash icon in the manual editor. Undo can restore the edit.

6. Try detection changes before applying them
- Open Detection.
- Adjust a detection parameter, such as Trace smoothing, if needed.
- Choose Detect again. A candidate preview appears with the number of additions, removals and boundary changes.
- Use the preview's before/candidate toggle to inspect the difference.
- Choose Apply candidates to replace the working geometry, or Discard candidates to keep your existing definition.

Redetection also considers manually edited boundaries. The manual editor is disabled while a candidate preview is active. Applying candidates changes the working definition; choose Save definition when you want to keep the result.
7. Compare one lap
- Select the corner you want to study.
- Open Feature analysis.
- Expand Laps and analysis range if the controls are collapsed.
- Under Your lap, choose Personal best lap for the fastest matching Live lap. Use More lap filters to change the recording mode, tire or date when needed.
- Check Analysis start / m and Analysis end / m. Include the braking approach and exit that you want to study. You can place the distance cursor and use Start at cursor or End at cursor.
- Choose Compare and wait for the result.

The analysis range is separate from the geometric corner definition. Adjusting it does not change the definition JSON. Save analysis settings stores analysis settings separately. A start greater than the end describes a range crossing the origin. Use a range of at least 1 m within the definition trace.

A one-lap comparison shows eleven features:
| Feature | What to look for |
|---|---|
| Entry speed | Speed at the beginning of the analysis range. |
| Brake onset position | Where sustained braking begins within the analyzed region. |
| Peak brake input | The largest brake input in the region. |
| Brake release position | Where sustained braking is released. |
| Minimum speed | Lowest speed in the region. |
| Peak lateral G (estimated) | The largest estimated lateral load, derived from the CSV. |
| Throttle reapplication position | Where sustained throttle input resumes. |
| Full throttle position | Where the full-throttle threshold is reached. |
| Exit speed | Speed at the end of the region. |
| Minimum speed position | Where the lowest speed occurs. |
| Gear at minimum speed | The gear at that point. |
The value difference column uses self minus reference; a positive feature difference is not automatically better or worse. Percentage differences are percentage points. A blank or unavailable value is not zero: inspect the quality information for the reason.
8. Compare several laps and inspect one
- Expand Laps and analysis range again if needed.
- Choose Latest 10 laps under Your lap, then choose Compare. Other choices include the latest 1, 30 or 100 laps and Select individually.
- Inspect the feature scatter plots. The horizontal axis is a feature value; the vertical axis is the section time delta against the reference.
- Click a point to inspect its lap. You can also use the result-lap selector.
- Choose View traces to inspect the selected lap's driving inputs and vehicle behavior.

The corner-best marker identifies the shortest measurable section time among your selected laps. It can differ from the fastest full lap shown in the index. Labels indicate provisional results or results including estimated timing.
To focus on a group of laps, drag inside a plot to select a rectangle. Drag along an axis's ticks to select only its horizontal or vertical range. Use Clear range to remove the selection and Esc to cancel a drag. The plots describe observed relationships, not proof that one input caused a faster time.
9. Read the comparison traces
After selecting a result, choose View traces. The comparison view includes available channels for speed, brake, throttle, steering, estimated lateral G, gear and section delta.

The axis starts at 0 m for the analysis range and aligns both laps to the same physical section. The legend identifies the reference and self lap. Hover near round markers or dotted event lines to see the lap, event and distance. Press Esc to close an event explanation.
Use Back to feature analysis to return to the results. The lap selection is retained. When changing comparison conditions afterward, expand Laps and analysis range before selecting new laps.
10. Reopen, export and import definitions
Open Save / Load in the sidebar.

| Task | Steps |
|---|---|
| Reopen a saved definition | Choose it from Saved definition, then choose Open selected definition. |
| Transfer or back up a definition | Choose Export JSON and keep the downloaded file. |
| Import a definition | Choose Import JSON and select an exported file. Importing changes the working definition; choose Save definition to keep it locally. |
| Keep an alternative version | Choose Edit as a new copy, give it a clear name and save it as a separate definition. |
Exported JSON includes the reference trace and can be opened on another computer without the original source CSV. To compare laps there, select the CSV folder available on that computer. Exported definitions do not contain the original CSV's absolute path.
At startup, Corner Lab selects the latest available track/car. When you return to a track, it reuses a suitable saved definition; if several exist and none is selected, use Save / Load to choose one. Returning to the same definition is different from returning to the same startup track/car.
11. Understand quality messages
Use the information button in Feature analysis to open quality information and result guidance. Individual index rows can also explain unavailable calculations.
- Estimated timing: when the CSV has no elapsed-time column, timing may be estimated assuming 60 Hz. The Fuji replay in this guide shows this label. It is not the same as a directly recorded section time.
- Unavailable: missing channels, invalid alignment or unusable timing can prevent a feature or section from being evaluated. Review the explanation instead of treating the missing value as zero.
- Layout and direction: matching track metadata and trace alignment do not automatically certify the official layout or driving direction.
- Event outside the range: widen the analysis range to include braking or throttle events you want to inspect, then compare again.
12. Troubleshooting
| What you see | What to do |
|---|---|
| No recordings in Data | Check CSV folder under Data and definition options and choose Reload laps. Choose a track and car with usable CSV files. |
| No comparison reference | Add a complete Rep recording for the same track and car, then reload. |
| No self laps | Check recording mode, date and tire filters. Prepare timed Live or Race laps for that track and car. |
| A corner edit does not persist | Choose Apply changes, then Save definition. Confirm that the header says Saved. |
| Editor controls are disabled | Apply or discard the redetection preview first. Also check that a corner is selected. |
| Lap-selection controls disappeared | Expand Laps and analysis range. The app can collapse these controls after starting a comparison. |
| View traces is disabled | Run a comparison, select a usable result lap and check its quality information. |
| A different track appears after restart | Startup uses the latest recordings. Select your intended track and car again, then reopen your saved definition if needed. |
| Important rows or plots are below the visible area | Scroll inside the index or analysis panel. On a small display, the workspace stacks vertically. |
About this guide: screenshots were captured from the actual Corner Lab interface using Playwright. The walkthrough exercised corner selection, naming, undo/redo, saving, redetection/discard, one-lap and ten-lap analysis, traces, JSON export/import and reopening a saved definition. Additional controls are described from the application source and its current usage documentation. The local CSV folder is masked in screenshots.