Skip to content

Commit

Permalink
Issue #48 Split Mandelbrot-Tab into Mandelbrot-Julia and Mandelbrot-Zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswoehlke committed Oct 11, 2020
1 parent 5afe0e1 commit 4c7a80a
Show file tree
Hide file tree
Showing 159 changed files with 8,016 additions and 12 deletions.
56 changes: 56 additions & 0 deletions single-apps/insourcing/insourcing-kochsnowflake/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Wator

**Wator Slogan**

## Abstract: Wator


## More
* [https://en.wikipedia.org/wiki/Mandelbrot_set](https://en.wikipedia.org/wiki/Mandelbrot_set)
* [https://en.wikipedia.org/wiki/Julia_set](https://en.wikipedia.org/wiki/Julia_set)
* [https://en.wikipedia.org/wiki/Turing_machine](https://en.wikipedia.org/wiki/Turing_machine)

## Screenshots

### Running around the Edge of the Mandelbrot Set

![Running around the Edge of the Mandelbrot Set](src/main/resources/img/screen01.png)

### Running around the Edge of the Mandelbrot Set

![Running around the Edge of the Mandelbrot Set](src/main/resources/img/screen02.png)

### Computing the Area outside the Mandelbrot Set

![Computing the Area outside the Mandelbrot Set](src/main/resources/img/screen03.png)

### Clicked somewhere on the Edge of Mandelbrot Set: The Julia Set

![Clicked somewhere on the Edge of Mandelbrot Set: The Julia Set](src/main/resources/img/julia01.png)

### Clicked on another Point on the Edge of Mandelbrot Set: The Julia Set

![Clicked on another Point on the Edge of Mandelbrot Set: The Julia Set](src/main/resources/img/julia02.png)


### Git Repository
* [https://github.com/thomaswoehlke/mandelbrot](https://github.com/thomaswoehlke/mandelbrot.git)


### Gradle Wrapper
* [https://docs.gradle.org/current/userguide/gradle_wrapper.html](https://docs.gradle.org/current/userguide/gradle_wrapper.html)

### Run the Desktop Application
```
git clone https://github.com/thomaswoehlke/mandelbrot.git
cd mandelbrot
./gradlew clean shadowJar runShadow
```

### Run the Applet Test
```
git clone https://github.com/thomaswoehlke/mandelbrot.git
cd mandelbrot
TODO: xxx
```

127 changes: 127 additions & 0 deletions single-apps/insourcing/insourcing-kochsnowflake/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.woehlke.computer.kurzweil</groupId>
<artifactId>insourcing</artifactId>
<version>2.2.8-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

<artifactId>insourcing-kochsnowflake</artifactId>
<packaging>jar</packaging>

<name>single-apps :: insourcing :: Koch Snowflake</name>
<description>kochsnowflake</description>

<properties>
<applicationMainClass>org.woehlke.computer.kurzweil.KochSnowflakeApplication</applicationMainClass>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jcl</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-properties</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-ion</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
</dependencies>

<build>
<finalName>${project.artifactId}</finalName>
<defaultGoal>clean dependency:tree install exec:java</defaultGoal>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>org.woehlke.computer.kurzweil.KochSnowflakeApplication</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>org.woehlke.computer.kurzweil.KochSnowflakeApplication</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<preparationGoals>clean</preparationGoals>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
</plugins>
</build>

</project>
2 changes: 2 additions & 0 deletions single-apps/insourcing/insourcing-kochsnowflake/run.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cmd /c ..\..\mvnw -e clean install site
cmd /c ..\..\mvnw
17 changes: 17 additions & 0 deletions single-apps/insourcing/insourcing-kochsnowflake/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash


function site() {
../../../mvnw -e site site:deploy
}

function run() {
../../../mvnw
}

function main() {
#site
run
}

main
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package org.woehlke.computer.kurzweil;

import org.woehlke.computer.kurzweil.application.ComputerKurzweilProperties;
import org.woehlke.computer.kurzweil.tabs.kochsnowflake.KochSnowflakeTab;

import java.io.File;
import java.net.URL;

/**
* Mandelbrot Set drawn by a Turing Machine.
*
* (C) 2006 - 2015 Thomas Woehlke.
* https://thomas-woehlke.blogspot.com/2016/01/mandelbrot-set-drawn-by-turing-machine.html
* @author Thomas Woehlke
*/
public class KochSnowflakeApplication {

private KochSnowflakeApplication() {
String configFileName = "/application.yml";
URL fileUrl = getClass().getResource(configFileName);
File configFile = new File(fileUrl.getFile());
ComputerKurzweilProperties properties = ComputerKurzweilProperties.propertiesFactory(configFile);
KochSnowflakeTab frame = new KochSnowflakeTab(properties);
}

/**
* Starting the Application.
* @param args CLI Parameter
*/
public static void main(String[] args) {
KochSnowflakeApplication application = new KochSnowflakeApplication();
}
}
Loading

0 comments on commit 4c7a80a

Please sign in to comment.