Chris DourisProtherunner.digital·May 16, 2024Day 91/100 100 Days of CodeI began working on retrieving the results from the mini-app. First, I created a new struct: struct Results { double maxHeight; double timeToMaximumHeight; double timeToLand; }; Then, I used the resource locator to find the mini-app's loc...Discuss100 Days of CodeC
Naman Kumarnamankumar24.hashnode.dev·May 15, 2024Quantum Computing: The Next Frontier of Computing PowerIf you think today's computers are impressive, just wait until quantum computing goes mainstream. This revolutionary new approach to processing information has the potential to make even the most powerful supercomputers look like toys. Quantum comput...Discuss·11 likes·28 readsPhysics
Chris DourisProtherunner.digital·May 15, 202490/100 100 Days of CodeI finished the button, and moved the ball to the center of the second window. Similar to the text box, I needed to create two rectangles: one for the text and another for the button itself. The button should change color when hovered over and return ...Discuss100 Days of CodeC
Chris DourisProtherunner.digital·May 12, 2024Day 88/100 100 Days of CodeI started working on the button but couldn't do much today because I was quite busy. I always try to squeeze in as much programming time as possible. Button Structure struct StartButton { int x; int y; float width; float height; }; G...Discuss100 Days of CodeC
Chris DourisProtherunner.digital·May 12, 2024Day 87/100 100 Days of CodeI worked on creating the ball. SDL alone can't generate circles. I used the solution from this post to draw it. Ball structure struct Ball { float x; float y; float radius; }; Generate Ball void GenerateBall(struct Ball ball, SDL_Rendere...Discuss100 Days of CodeC
Chris DourisProtherunner.digital·May 10, 2024Day 86/100 100 Days of CodeOne more session working on the text box. I think it is ready. I created a new TTF_Font variable named textboxFont and changed the position of the interiorTextBox . TTF_Font *textboxFont; textboxFont = TTF_OpenFont(fontResource.location, 50); TTF_Se...Discuss100 Days of CodeC
Chris DourisProtherunner.digital·May 8, 2024Day 84/100 100 Days of CodeI worked on the application's text box, creating two new structures to manage the interior and exterior areas of the box. The exterior is a simple static rectangle with colored borders. The interior will expand or contract depending on the number of ...Discuss100 Days of CodeC
Jason LeiProjasonlei.com·May 8, 2024Calculating Virtual Cycling PowerFor those who don't know me personally, I am an avid road cyclist (my Strava for those interested). Naturally, I've delved deeply into how to use my power more efficiently. This curiosity led me to a great article (and calculator) by Steve Gribble th...Discuss·302 readsProgrammingpower meter
Chris DourisProtherunner.digital·May 7, 2024Day 83/100 100 Days of CodeI created a new function for text rendering. oid DisplayText(SDL_Renderer * renderer, TTF_Font *font, char* content, int x, int y) { SDL_Color textColor = {0xff, 0xff, 0xff}; SDL_Surface *textSurface = TTF_RenderText_Solid(font, content, text...Discuss100 Days of CodePhysics
Q8 { Empowering Changeq08.org·May 7, 2024The nature of time in higher dimensions1. Introduction The concept of time has long been a subject of fascination and inquiry for philosophers, scientists, and thinkers across various disciplines. While our everyday experience suggests that time is a linear progression from past to presen...Discusstime