Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions day4/bin/dune

This file was deleted.

26 changes: 0 additions & 26 deletions day4/dune-project

This file was deleted.

2 changes: 0 additions & 2 deletions day4/lib/dune

This file was deleted.

2 changes: 0 additions & 2 deletions day4/test/dune

This file was deleted.

5 changes: 5 additions & 0 deletions julia_set/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
** Fun fact about Julia Sets: **

They are a type of Fractals that emerges from iterating polynomial functions in the complex plane. Julia sets are named after the French mathematician Gaston Julia, who studied their properties in the early 20th century.

To learn more about Julia Sets visit [here](https://en.wikipedia.org/wiki/Julia_set).
4 changes: 4 additions & 0 deletions julia_set/bin/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(executable
(public_name julia_set)
(name main)
(libraries julia_set claudius))
2 changes: 1 addition & 1 deletion day4/bin/main.ml → julia_set/bin/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ let tick t s _p _i =
let () =
let pal = 0x000000 :: (List.rev (Palette.to_list (Palette.generate_plasma_palette 31))) in
let screen = Screen.create 640 480 1 (Palette.of_list pal) in
Base.run "Genuary Day 4: Pixels" None tick screen
Base.run "Julia Set" None tick screen
26 changes: 26 additions & 0 deletions julia_set/dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
(lang dune 3.12)

(name julia_set)

(generate_opam_files true)

(source
(github mdales/claudius))

(authors "Michael Dales <michael@digitalflapjack.com>")

(maintainers "Michael Dales <michael@digitalflapjack.com>")

(license ICS)

(documentation https://url/to/documentation)

(package
(name julia_set)
(synopsis "An example on Julia Set")
(description "Julia Sets are intricate fractal shapes that arise from iterating a simple mathematical formula in the complex plane.")
(depends ocaml dune)
(tags
(graphics rendering paletted)))

; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project
File renamed without changes.
2 changes: 2 additions & 0 deletions julia_set/lib/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(library
(name julia_set))
2 changes: 2 additions & 0 deletions julia_set/test/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(test
(name test_julia_set))
File renamed without changes.
Loading