Skip to content

An experiment on procedural mesh generation in spherical coordinates.

Notifications You must be signed in to change notification settings

paternostrox/PolarGarden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ca94d35 · May 5, 2023

History

49 Commits
Jul 15, 2021
Sep 10, 2021
Jul 14, 2021
Oct 14, 2021
Oct 14, 2021
May 25, 2021
May 25, 2021
May 5, 2023
May 25, 2021
May 25, 2021
May 25, 2021
Sep 10, 2021

Repository files navigation

The Polar Garden

An experiment on procedural generation in spherical coordinates.

Description

The project was made to practice my skills in math, OpenGL, GDScript and to mess with online multiplayer using RPCs. Do not expect it to be beautiful! 😅

The server allows up to four clients to join and share a garden. The clients can plant new plants based on mathematical equations and also crossbreed existing plants into new ones.

The system

This experiment is composed by two projects, the client project (this one) and the server project that can be found in here.

A class diagram of the client system is shown bellow:

Examples

Example 1 Example 2 Example 3
Inflorescence Equation ( r = a | c o s ( p q . θ ) | , θ = θ , ϕ = 1 ) where a , p , q , θ I ( r = a c o s ( p q . θ ) , θ = θ , ϕ = θ ) where a , p , q , θ I ( r = a . a r c s e n ( c o s ( n . θ + 0.97 ) ) , θ = θ , ϕ = θ ) where a , n , θ R
Picture

About

An experiment on procedural mesh generation in spherical coordinates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published