Skip to content

Add Complex Analysis Extension#2531

Open
Virlasl wants to merge 8 commits into
TurboWarp:masterfrom
Virlasl:master
Open

Add Complex Analysis Extension#2531
Virlasl wants to merge 8 commits into
TurboWarp:masterfrom
Virlasl:master

Conversation

@Virlasl

@Virlasl Virlasl commented Jun 8, 2026

Copy link
Copy Markdown

Hi, I added an extension that extends the number system to two dimensions: The real numbers (1, 2, 3, etc) and the imaginary numbers (i, 2i, 3i, etc) and then introduced complex numbers, such as 2+3i or 4-2i. This extension includes operators to solve equations including complex numbers such as (2+3i) - (1+9i) and even trigonometric functions (and atan2)! Edit: Idea of a game is a space game of tracking orbits as it requires messy numbers but treating the position as a single complex number can make it much simpler to make the game, and it can also help make highly advanced games on turbowarp!

Virlasl added 8 commits June 2, 2026 17:56
Pasting the initial JavaScript code for the Complex Analysis math extension.
Added a banner image for the new extension, name "complex-analysis.png"
Fixed a bug for link to image banner
@Virlasl Virlasl requested a review from a team as a code owner June 8, 2026 15:40
@github-actions github-actions Bot added the pr: new extension Pull requests that add a new extension label Jun 8, 2026
@Brackets-Coder

Copy link
Copy Markdown
Contributor

This is a duplicate of #1861 and #2113. Please consider contributing to one of those pull requests instead of adding a new extension.

This pull request will not be closed by me at the moment

@Virlasl

Virlasl commented Jun 8, 2026

Copy link
Copy Markdown
Author

Ah, thanks for telling me! My extension has many features, but as I checked, the other extensions include similar features. However, I didn't realize there was a consolidation happening! Since this PR is still open, I'm happy to help contribute my code or features to the main version if needed. Thanks for reviewing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new extension Pull requests that add a new extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants