c94674a71e
ISSUE-080 - Wrote a cheap race "simulator" mode. It's pretty naive - should honestly look into actually simulating race progress per cars and simulate track-side detectors instead, but this is easy and simple. Added a new event state to track sorted GridSpots. Small adjustments to the layout of the TimingTower prototype controls.
Kyle Geib2022-03-22 12:03:21 -04:00
1a51966288
ISSUE-080 - Adjustments to state around Event. Added new EventStatus state to track when the event is waiting, running, suspended, or stopped.
Kyle Geib2022-03-18 15:54:37 -04:00
f8fd7e2147
ISSUE-078 - Added RolexGem. Positioned and animated. Also took some time to move a lot of timing properties from ChyronDriver and place them in the central theme.
Kyle Geib2022-03-17 16:26:59 -04:00
86b12a1f84
ISSUE-075 - Switched Chyrons state to using gridSpot instead of Car data. This lets the car's data update in real time. Got a good result as the chyrons will not swap positions while open. But will swap if closed and opened a moment later. So, it all works the way I want it to.
Kyle Geib2022-03-17 13:00:59 -04:00
d9b30f64f2
ISSUE-075 - Switched to using GridSpots for the SelectedCars state. Chyrons still show out-of-date information, though. Might need to do some refactoring to get this straightened.
Kyle Geib2022-03-17 12:16:57 -04:00
c631f0e4ee
ISSUE-053 - Small change. Retired cars no longer show position in ChyronDriver. Stopped having Norris and Perez retired at the start.
Kyle Geib2022-03-17 09:14:29 -04:00
58da0e4895
ISSUE-053 - Placed Chyrons on video feed. Adjusted the method that placement is determined. It didn't make much sense to define Placement in state, so I've moved it to the central theme object instead. I also took the time to support +10 laps and minutes with a special xScale setting for the TimingTowerRows.
Kyle Geib2022-03-17 08:56:55 -04:00
b7d1b23dff
ISSUE-053 - Added white F1 logo svg. Minimized red F1 logo svg.
Kyle Geib2022-03-16 17:25:12 -04:00
47ae67a5a8
ISSUE-053 - Minor improvement to clipConvertToPercent().
Kyle Geib2022-03-15 14:16:18 -05:00
a11f5b8eb6
ISSUE-053 - To avoid messing with code that already works I dropped in a function-function that will convert pixel values to percent values. This fix adds a little bit of overhead, I guess, but it works without munging up any clean looking code.
Kyle Geib2022-03-15 14:13:29 -05:00
b48579ac54
ISSUE-053 - Placed TimingBoard into the video feed element. But the scaling is messing with the clip path because the clip path values do not follow the scale correctly.
Kyle Geib2022-03-15 13:14:20 -05:00
d083df7245
ISSUE-053 - Have worked out the scaled video feed element. Didn't have to do anything to position the element, which made me pretty happy. I assumed I'd have to do some annoying amount of finagling to get it to position correctly in the frame. It just worked. Lucky me.
Kyle Geib2022-03-14 18:23:18 -05:00
40292620d6
Adhoc - Fix breaking issue. Don't know why this error never appeared in the 068 branch while I was working on it. But here you go. Gotta fix this error.
Kyle Geib2022-03-14 16:57:29 -05:00
f4e6d487da
Adhoc - Fix two clear mistakes in README
Kyle Geib2022-03-14 12:09:45 -05:00
3b165c42e9
ISSUE-068 - Now Styled-Components can self-label. Updated babel-plugin-styled-components to a new version that works. Added extra option to macros settings to not bother showing the file names.
Kyle Geib2022-03-14 12:02:12 -05:00
4bf471bd99
ISSUE-069 - FL wipe working. Big refactor of how the PositionFlag components work. I flipped the way the wipe effect works. Originally there was the complicated problem of revealing a flag instantly and then wiping it away, requiring some delicate work with mounting and unmounting components. Instead it now works by always having a colored PositionFlag component in place and temporarily disappearing the normal PositionFlag (that is on top of it) using a transition-free opacity switch that lets the WipeTransition work reliably. This makes for fewer states and conditional renders. Added textColor and bgColor props to the PositionFlag component for flexibility.
Kyle Geib2022-03-14 08:49:14 -05:00
0e8ef14dcd
ISSUE-069 - Found and corrected alignment issue.
Kyle Geib2022-03-14 07:18:59 -05:00
de03f24b70
ISSUE-069 - Toast FL gem implemented. Appears to be a possible alignment issue with the PosFlag component - I think a margin above the component is missing. Will look into it.
Kyle Geib2022-03-13 15:02:39 -05:00
1af134b9a4
ISSUE-062 - Lap indicator now looking good and animating well. New scheduled lap event state. New alternative white color that matches what's seen in reality. New overlay for wide lap indicator.
Kyle Geib2022-03-10 20:19:27 -05:00
f1f61ed21f
Adhoc - Updates to README using feedback provided by Fran Pi.
Kyle Geib2022-03-08 16:51:33 -05:00
d2e4afb975
ISSUE-062 - Expanding status indicator in place. Moved some dimensions data to the themes object for re-use between components.
Kyle Geib2022-03-08 17:03:09 -05:00
28e0e7f3d4
ISSUE-062 - Basic base in place with no real interactivity or anything like that. Saving progress for the day. It's dinner time!
Kyle Geib2022-03-07 18:28:49 -05:00
061a7e0a0d
ISSUE-058 - Added basic TimingTower hidden setting that simply fades the whole thing in/out. Don't think I have the desire to animate the mounting process right now.
Kyle Geib2022-03-07 11:56:26 -05:00
9f4e564a74
ISSUE-058 - New opening/closing transition props feature added. Last name wiping added. Now we can define separate opening and closing transition settings as well as common (both ways) transition props. This is all pretty cool. Timing for open/close animations and transitions are looking better and more mature.
Kyle Geib2022-03-07 11:50:05 -05:00
a38af0dec4
ISSUE-058 - First attempt at a wipe effect for the full last name display. Discovered a limitation with WipeTransition and added a new optional prop for manual dimension definition. Going to attempt using a mask image next instead as the animation fades the name in, not using a direct clip.
Kyle Geib2022-03-04 18:02:45 -05:00
b9e3447ff5
ISSUE-058 - Fixed glitched corner rounding transition bug. Added fade-in/fade-out transition for interval/leader text data.
Kyle Geib2022-03-04 16:21:14 -05:00
1cccc7d094
ISSUE-058 - Basic mode switching implemented. Still need to fade-in/fade-out the interval numbers. Also need to look into wipe-in fade animations for full names. Will see what I can do...
Kyle Geib2022-03-03 18:56:07 -05:00
cdf8d2b332
ISSUE-057 - Added outline effect to position changes left half side. Refactored outlineClipPath() to support outlines that have been offset to be inside. Added animation duration configuration to the TimingBoard workspace.
Kyle Geib2022-03-03 15:38:59 -05:00
e88bd614d3
ISSUE-057 - Added color and wipe effect to position flag on timing tower. Also adjusted timing for transitions to match what is shown on broadcast TV.
Kyle Geib2022-03-03 10:40:03 -05:00
759e788af4
ISSUE-057 - Refactor: Separated out the Wipe functionality from VenetianBlindsTransition so I can re-use it elsewhere as WipeTransition.
Kyle Geib2022-03-03 08:20:19 -05:00
49dd08cc13
ISSUE-057 - Refactor: Switched from buildRow() to a dedicated component named TimingTowerRow. This is both simply a better way of going about it and will allow me to use hooks to track position changes and allow for new non-CSS animations.
Kyle Geib2022-03-02 09:57:07 -05:00
edeba37c6d
ISSUE-057 - Progress on building prototyping tools. New reducers for event slice that allow increasing of car distances, awarding fastest laps, and changing the statuses of cars. Updating more types to enums, which are just better in most cases as far as I can tell.
Kyle Geib2022-02-22 19:12:29 -05:00
660b9e6651
ISSUE-054 - Last minute clean-up.
Kyle Geib2022-02-22 13:57:38 -05:00
6e80ed056f
ISSUE-054 - Added support for DidNotStart cars not taking up any space on the timing tower. Fixed the bottom rounding functionality between running and retired cars in a reliable way. Relying more on car.position in the Timing Tower, as it should be.
Kyle Geib2022-02-22 13:37:45 -05:00
c9388b86fc
ISSUE-054 - Basic animating of the Timing Tower added. Provided basic controls to switch between. Still need to properly round the bottom rows of both the running and retired cars.
Kyle Geib2022-02-22 11:53:14 -05:00
00d2c671cb
ISSUE-054 - Added +# LAP indicators to Leader mode. Added state for tracking the leader of the race since its something that is needed quite often.
Kyle Geib2022-02-18 15:12:16 -05:00
35ac571d90
ISSUE-054 - Added fastest lap gem. Made the timing tower row height into a centralized piece of data in the theme.ts file.
Kyle Geib2022-02-18 12:22:33 -05:00
54878b8cb2
ISSUE-054 - Merged state.d.ts and state.ts for simplicity's sake. Added new CarNotice and TyreCompound enums and data pieces.
Kyle Geib2022-02-18 11:58:45 -05:00
2ad7fdd24c
ISSUE-054 - Added Team Gems to TimingTower. Finer calibration to row sizing (not 37px or 36px high, but 36.5px!) and position flag font size.
Kyle Geib2022-02-17 17:25:50 -05:00
2a92ee91cb
ISSUE-054 - Minor improvements and new tests. Added limit arg to formatTime(). Wrote unit tests for formatTime().
Kyle Geib2022-02-16 18:58:36 -05:00
7507868dce
ISSUE-054 - Have static timing display mostly figured out. Some subtle scaling was necessary to accomplish the proper spacing.
Kyle Geib2022-02-16 17:20:08 -05:00
22ebab1101
ISSUE-054 - Initial work of building the Timing Board. Working so far only have work for the Timing Tower.
Kyle Geib2022-02-16 14:36:27 -05:00
284b0919d6
ISSUE-045 - Chyron Body - Done! There ain't no way in hell I'm going to be able to convincingly animate the AngledFlag without spending maybe an entire week on it. I would honestly want to re-do the entire AngledFlag component from scratch before trying to animate it. The combination of rules and styles and all that is just too confusing to attempt right now. So, a basic slide- and fade-in I think is decent enough work.
Kyle Geib2022-02-14 13:59:34 -05:00
bab056394c
ISSUE-045 - Chyron Body - Timing improvements. More comments. Small corrections.
Kyle Geib2022-02-14 11:23:34 -05:00
e6312f67e0
ISSUE-045 - Chyron Body - Added the outline to the chyron body. It's not a perfect emulation (it fades out rather than runs out with a tail) but I'm very happy with it. Also updated the wipe animation to take advantage of map().
Kyle Geib2022-02-11 12:24:31 -05:00
462ea4852b
ISSUE-045 - Chyron Body - Fixed and calibrated driver portrait venetian blinds transition. Slight adjustment to the BaseBackground wipe. Added a new overlay image to help with it.
Kyle Geib2022-02-11 09:42:04 -05:00
79b098af6c
ISSUE-045 - Chyron Body - Added debugDurationMultiplier value that allows me to slow down animations in certain workspaces. Made TeamName component more customizable with its timing. Now all animations in Chyron are configurable from outside of the styled-component definition. New Debug option for ChyronContainer so that this animation modifier can never accidentally be active in the main broadcast view.
Kyle Geib2022-02-10 19:12:06 -05:00
9ff77cc88a
ISSUE-045 - Chyron Body - Added Team Name flicker. Added DarkBG option to Workspace PreviewWindow. Fixed issue with blindsColorFadeDelay not being correct. Calibrating the timing of animations and transitions better. Added the subtle TeamColorBar squeeze look with outline and a wide clip-path adjustment.
Kyle Geib2022-02-10 18:33:44 -05:00
b545750f70
ISSUE-045 - Chyron Body - Great progress today! It's starting to look legit! Massive change to the way that Chyrons are built and deployed. Still need to figure out what's wrong with the portrait and the Venetian blinds causing issues. Still need to make the team name flicker.
Kyle Geib2022-02-09 18:47:07 -05:00
fd18703d1a
ISSUE-045 - Chyron Body - Taking a moment to rename some reducers to be more consistant (verb in front).
Kyle Geib2022-02-09 13:55:52 -05:00
16c29df42f
ISSUE-045 - Venetian Blinds - Improvements to Venetian Blinds prototype controls. Now you have 10 different options (5 for position flag and 5 for driver portrait) to play with, as well as a slot selector to choose different starting corners. I have to admit that I didn't want to deal with type juggling with DriverId so I do a pretty hacky job. This is just for prototyping purposes so it really shouldn't be much of a focus for me, right? Added an overall delay prop for VenetianBlindsTransition so that I don't need to deal with special timing issues for the DriverChyron animation in the future.
Kyle Geib2022-02-08 15:14:04 -05:00
9518f934ae
ISSUE-045 - Venetian Blinds - Moved visibility state outside of the Transition component and into the workspace.
Kyle Geib2022-02-08 12:29:37 -05:00
b1b3b62d3a
ISSUE-045 - Venetian Blinds - Added blinking animation for the position number. Activated with a blink duration. I had to consider a manual delay before starting. The animation delay didn't really work as the number would be visible until the animation started. I'm sure there's a solution but I'm a little lazy to figure it out at the moment. Otherwise, for future reference: iirc the delay would be 250ms and the duration would be 400ms.
Kyle Geib2022-02-08 12:23:32 -05:00
177272df6f
ISSUE-045 - Venetian Blinds - Calibrated portrait example to be more accurate to real example. Added opacity props for the filter to allow for an opacity rule on the entire filter - as is apparent with the real position flag example.
Kyle Geib2022-02-08 12:19:54 -05:00
78073b1eb2
ISSUE-045 - Venetian Blinds - Wipe, blinds closing, and blinds color all working.
Kyle Geib2022-02-08 11:27:27 -05:00
3ce590d794
ISSUE-045 - Venetian Blinds - Improvements to prototype state management by using partial state updates, which are pretty useful. More props for <VenentianBlindsTransition>.
Kyle Geib2022-02-07 16:30:22 -05:00
14e4c0569d
ISSUE-045 - Venetian Blinds - Figured out some trig to get this to work. The angle of the wipe is now customizable and no longer limited to 45°.
Kyle Geib2022-02-07 16:02:15 -05:00
c07d364584
ISSUE-045 - Venetian Blinds - After some trial and error I've got a performant and sensible wipe solution using a clip-path mask.
Kyle Geib2022-02-07 12:33:42 -05:00
38aeedea65
ISSUE-045 - Venetian Blinds - Working on the basic concept of the blinds filter. Created a new workspace to test this all out in. Offering two differing test subjects: A position flag and a driver portrait. This is useful because the images need to be treated differently compared to simple divs. Figured out a way of tinting both divs and images: Severely offset internal outline styling with semi-opaque colors. Moved DriverPortrait into its own component. Makes sense as portraits appear in various places. Plan to offer prop between front-facing and 3/4 facing photos (I have a collection of both). Created a new "Position" type that can be used, with a special function, to place elements through a common prop.
Kyle Geib2022-02-04 15:24:55 -05:00
e747a7d7c3
ISSUE-045 - Venetian Blinds - Starting work on the "venetian blinds" transition effect. I'll be starting with re-creating this effect on the PositionFlag component. That involves first separating out the PositionFlag into its own common component (it's used on the timing board as well, so it makes sense). Adding new overlays for prototyping work.
Kyle Geib2022-02-04 09:59:35 -05:00
5e86b92ca5
ISSUE-045 - Busy-work, relocating and renaming AngledFlagWorkspace (Workspace, not WorkSpace).
Kyle Geib2022-02-04 09:42:22 -05:00
4c61a24c21
ISSUE-033 - Created a new component, <IndexHeading> that is a lightly stylized new header element for basic indexes. I also adjusted the 404 page to now include the menu for the sake of usability.
Kyle Geib2022-02-03 12:26:23 -05:00
c6411950f3
ISSUE-047 - Exported animated versions of a pair of styled-components of mine. Nothing special. Just something I wanted to change now.
Kyle Geib2022-02-03 11:28:14 -05:00
8d8eaf29cf
ISSUE-043 - Created a decent and simple solution for spacing pairs of medium chyrons just using a flexbox div.
Kyle Geib2022-02-03 11:20:19 -05:00
bf121aa032
ISSUE-018 - Added pixel size indicator for overlay images. Added new global rule for touch-action so that I don't need to keep setting it up for elements that utilize use-gesture.
Kyle Geib2022-02-02 17:27:54 -05:00
8144622407
ISSUE-041 - Portraits now working! Quite happy with the results. Was far less fiddly than I was expecting. One interesting thing I had to do was introduce a new BaseContainer div component so that I could let the portraits overflow the BaseBackground component (by being put in a parent component with no overflow rules).
Kyle Geib2022-02-02 15:24:58 -05:00
72b6fc60ef
ISSUE-041 - Added front-facing driver portraits Covered all 2021 drivers. I mocked up portraits for Albon and Zhou in 2022. I also have 2022 Bottas (Alfa) and Russell (Merc) waiting elsewhere. Added Mazepin portrait overlay image as well to work from.
Kyle Geib2022-02-02 12:35:51 -05:00
8eeae7714f
Adhoc - Fix case for redBull.svg.
Kyle Geib2022-02-01 21:25:08 -05:00
b39d005e23
ISSUE-035 - Styled the Team flags individually. Went through a lot of trouble to style the team flags to be wider than the country flags. This called for a troubling amount of ternary statements in the angled flag components. I'm content with the results.
Kyle Geib2022-02-01 18:24:48 -05:00
bd1892ab17
ISSUE-035 - Took some work but have proper type checking for AngledFlag props and have updated everything necessary. Styling is still to come. Only have Ferrari working. I've discovered that the team flags are wider than the country flags. So I'll be tackling that necessary change in the next commit before dealing with styling.
Kyle Geib2022-02-01 12:57:40 -05:00
57647f6488
ISSUE-035 - Added SVG files for each team, minified to save space.
Kyle Geib2022-01-31 19:12:49 -05:00
064d684fa8
ISSUE-035 - Added team flag overlays. Added new workspace for team flags and adjusted custom workspace and tools to allow for work.
Kyle Geib2022-01-31 19:03:23 -05:00