Skip to content

Usage Example - Closest Point on Circle#322

Merged
omckeon merged 4 commits intothoth-tech:usage-examplesfrom
rmachu:PR-closepntoncircle-rmachu
Jan 30, 2025
Merged

Usage Example - Closest Point on Circle#322
omckeon merged 4 commits intothoth-tech:usage-examplesfrom
rmachu:PR-closepntoncircle-rmachu

Conversation

@rmachu
Copy link

@rmachu rmachu commented Dec 1, 2024

This is a pull request for a usage example of the function Closest Point on Circle that first prompts the user for an x and y value for a position and gets the closest point on a circle to that point. This points are indicated by a blue and red dot.

Splashkit Function: closest_point_on_circle

  • Title and explanation (.txt)
  • C++ code
  • C# code (top-level statements)
  • C# code (Object-Oriented Programming)
  • Python code
  • Screenshot
  • Simple, clear demonstration of the function
  • Code uses Splashkit functions
  • Tested in Chrome and Firefox

@netlify
Copy link

netlify bot commented Dec 1, 2024

Deploy Preview for splashkit-usage-examples ready!

Name Link
🔨 Latest commit 1371d37
🔍 Latest deploy log https://app.netlify.com/sites/splashkit-usage-examples/deploys/674c60ebddf06100085e9b4d
😎 Deploy Preview https://deploy-preview-322--splashkit-usage-examples.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@ctrlvish ctrlvish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed this pull request and I approve it.

  • All required files are present.
    • Title and explanation (.txt)
    • C++ code
    • C# code (top-level statements)
    • C# code (Object-Oriented Programming)
    • Python code
  • Code correctly uses Splashkit functions.
  • Code clearly demonstrates the function.
  • All versions maintain the same structure and comments.
  • C++ code ran correctly.
  • C# top level code ran correctly.
  • C# OOP code ran correctly.
  • Python code ran correctly.

Copy link

@breezy-codes breezy-codes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reviewed this new usage example and all codes run correctly free of any errors.
The code comments match over all files and the structure is well formed.

  • All required files are present.
    • Title and explanation (.txt)
    • C++ code
    • C# code (top-level statements)
    • C# code (Object-Oriented Programming)
    • Python code
  • Code correctly uses Splashkit functions.
  • Code clearly demonstrates the function.
  • All versions maintain the same structure and comments.
  • C++ code ran correctly.
  • C# top level code ran correctly.
  • C# OOP code ran correctly.
  • Python code ran correctly.

Copy link

@Eswar-S-Sethu Eswar-S-Sethu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed the changes and everything works without any errors.

@omckeon omckeon self-assigned this Jan 30, 2025
Copy link

@omckeon omckeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated this to reduce the need for terminal input

@omckeon omckeon merged commit 0faa7b4 into thoth-tech:usage-examples Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants