Skip to content

An experiment on procedural mesh generation in spherical coordinates.

Notifications You must be signed in to change notification settings

paternostrox/PolarGarden

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 |cos(\frac{p}{q}.\theta)|, \theta = \theta, \phi = 1)$ where $a,p,q,\theta \in \mathbb{I}$ $(r = a cos(\frac{p}{q}.\theta), \theta = \theta, \phi = \theta)$ where $a,p,q,\theta \in \mathbb{I}$ $(r = a.arcsen(cos(n.\theta + 0.97)), \theta = \theta, \phi = \theta)$ where $a,n,\theta \in \mathbb{R}$
Picture

About

An experiment on procedural mesh generation in spherical coordinates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published