This cross platform - Linux, Mac OS X and Windows - F# .Net library and smartphone app to chart the nine Maya waves of Carl Johan Calleman.
F# 68.8%
Jupyter Notebook 18.3%
Shell 2.6%
Batchfile 1.3%
Other 9.1%
34 1 0

Clone this repository

https://tangled.org/releasecandidate.bsky.social/nine_waves https://tangled.org/did:plc:bsvlnvc2ypnlpvcttd7b5jlz/nine_waves
git@kt.tngl.oyster.cafe:releasecandidate.bsky.social/nine_waves git@kt.tngl.oyster.cafe:did:plc:bsvlnvc2ypnlpvcttd7b5jlz/nine_waves

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

NineWaves Icon NineWaves #

MIT License

This cross platform - Linux, Mac OS X and Windows - F# .Net library and smartphone app to chart the nine Maya waves of Carl Johan Calleman. See Links. It uses Fabulous as F# MVU (Elm-like) frontend to Xamarin.Forms.

See YouTube video of the smartphone app for a video.

Screenshot 1 of the smartphone app Screenshot 2 of the smartphone app

Information about the smartphone app is at Usage of the Smartphone App

To interactively try out the F# NuGet package NineWaves, go to the Jupyter Notebook at Binder

Full documentation can be found at Read the Docs

MIT license badge F# 5.0 badge OS badge Nuget Package badge Documentation Status Binder

Table of Content #

Blog of Carl Johan Calleman

Experiencing the 9th Wave Influence in your Life

Download#

List of changes: CHANGELOG.md

Link to the latest release

Installation and Usage#

Android#

Install the package for your smartphone (.apk for Android) onto your phone - search the web on how you can do that, this depends on your phone

iOS#

I can’t generate an iPhone package myself, so you have to build the project IOS for yourself and provision the app to your phone. Microsoft has a how-to here

NuGet Package#

Download an install the NineWaves Nuget package using your IDE (Visual Studio or JetBrains Rider) or one of the command-line possibilities: NineWaves Package at NuGet

In an interactive F# FSI session, you can use the command #r "nuget: NineWaves" to download and use the nuget package NineWaves.

Usage of the Smartphone App#

See YouTube video of the smartphone app for a video.

NineWaves NuGet Package#

Download an install the NineWaves Nuget package using your IDE (Visual Studio or JetBrains Rider) or one of the command-line possibilities: NineWaves Package at NuGet

In an interactive F# FSI session, you can use the command #r "nuget: NineWaves" to download and use the nuget package NineWaves.

To use NineWaves in an interactive session:

#r "nuget: NineWaves"
    Installed package NineWaves version 0.9.6

Everything is contained in the namespace RC.Maya, so let's open that

open RC.Maya

To check if everything's working, we call NineWaves.getWaveday9 with the DateTime of today (the 2nd of May, 2021), to get the information of the 9th wave for today.

NineWaves.getWaveday9 System.DateTime.Today
    DayNumber  OfDays  WaveNumber  IsNight
           18      18         103     True

From the returned WaveDay type we can see, that today is the 18th day (DayNumber) of 18 days (OfDays) of the 103rd 9th wave (WaveNumber). Actually it is a 'Night' (IsNight), the wave is 'below zero'.

We can do the same with all the other 8 Waves:

NineWaves.getWaveday8 System.DateTime.Today
    DayNumber  OfDays  WaveNumber  IsNight
          234     360          12    False
NineWaves.getWaveday7 System.DateTime.Today
    DayNumber  OfDays  WaveNumber  IsNight
         3474    7200           7     True
NineWaves.getWaveday6 System.DateTime.Today
    DayNumber  OfDays  WaveNumber  IsNight
         3474  144000           7     True




```F#
NineWaves.getWaveday5 System.DateTime.Today
    DayNumber  OfDays  WaveNumber  IsNight
         3474 2880000           7     True
NineWaves.getWaveday4 System.DateTime.Today
    DayNumber   OfDays  WaveNumber  IsNight
         3474 57600000           7     True
NineWaves.getWaveday3 System.DateTime.Today
    DayNumber     OfDays  WaveNumber  IsNight
         3474 1152000000           7     True
NineWaves.getWaveday2 System.DateTime.Today
    DayNumber       OfDays  WaveNumber  IsNight
         3474  23040000000           7     True
NineWaves.getWaveday1 System.DateTime.Today
    DayNumber       OfDays  WaveNumber  IsNight
         3474 460800000000           7     True

Of course we can use any date, like the 24th of October, 2014:

NineWaves.getWaveday7 (System.DateTime (2014, 10, 24))
    DayNumber  OfDays  WaveNumber  IsNight
         1092    7200           7     True

NineWaves also contains the 9 sine wave funtions for the nine waves, to generate graphs of. All 9 functions are scaled, so that 0, the wavelength and half wavelength of each wave yields 0, and each day is a integer. The maximum and minimum is reached at -wavelength / 4 and wavelength / 4.

So: for each of the wavelengths we get 0:

NineWaves.wavefunc9 NineWaves.wavelength9
    0
NineWaves.wavefunc8 NineWaves.wavelength8
    0
NineWaves.wavefunc7 NineWaves.wavelength7
    0

And so on ...

Same for the half wavelength:

NineWaves.wavefunc6 (NineWaves.wavelength6 * 0.5)
    -0

and of course multiplied by any integer factor:

NineWaves.wavefunc5 (NineWaves.wavelength5 * -2.)
    0
NineWaves.wavefunc4 (NineWaves.wavelength4 * -1.5)
    0

The maximum of 1 or -1 is reached at wavelength / 4:

NineWaves.wavefunc3 (NineWaves.wavelength3 * 0.25)
    -1
NineWaves.wavefunc2 (NineWaves.wavelength2 * -0.25)
    1
NineWaves.wavefunc1 (NineWaves.wavelength1 * -3.25)
    1
NineWaves.wavefunc1 (NineWaves.wavelength1 * -3.75)
    -1

Contributing#

Any help is welcome!

If you encounter a problem using NineWaves, a task it not as easy as you'd like it to be or you'd like something added to it: open an issue at Codeberg, see section Report Issues.

See page Contributing at Read the Docs for a detailed description.

License#

All content except some images of NineWaves is licensed under the MIT license, see file LICENSE.

Privacy Policy#

NineWaves does not collect or share any personal information, it does not contain any ads, trackers or in-app-payments. See: Privacy Policy