Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswoehlke committed Dec 24, 2022
1 parent 6e1afb4 commit 324bd17
Show file tree
Hide file tree
Showing 8 changed files with 225 additions and 25 deletions.
26 changes: 1 addition & 25 deletions src/main/resources/log4j.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,7 @@
</RollingFileAppender>
</Appenders>
<Loggers>
<Logger name="org.woehlke.computer.kurzweil.simulated.evolution.tabs.cca" level="info" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.woehlke.computer.kurzweil.simulated.evolution.tabs.dla" level="warn" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.woehlke.computer.kurzweil.simulated.evolution.tabs.simulatedevolution" level="info" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.woehlke.computer.kurzweil.simulated.evolution.tabs.mandelbrot" level="warn" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.woehlke.computer.kurzweil.simulated.evolution.tabs.randomwalk" level="warn" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.woehlke.computer.kurzweil.simulated.evolution.config" level="info" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.woehlke.computer.kurzweil.simulated.evolution.commons" level="info" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.woehlke.computer.kurzweil.simulated.evolution.commons.model" level="info" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.woehlke.computer.kurzweil.simulated.evolution.commons.widgets" level="info" includeLocation="true">
<Logger name="org.woehlke.computer.kurzweil.mandelbrot.zoom" level="info" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Root level="info">
Expand Down
203 changes: 203 additions & 0 deletions src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
allinone:
lattice:
width: 640
height: 400
view:
title: 'Computer Kurzweil'
subtitle: 'Scientific Imfotainment'
copyright: '(c) 2020 Thomas Woehlke'
borderPaddingX: 5
borderPaddingY: 5
titleHeight: 60
startStopp: 'Start / Stop'
start: 'Start'
stop: 'Stop'
info: 'Info'
mandelbrotJulia:
view:
title: 'Mandelbrot Set'
subtitle: 'Fractal Mandelbrot Set drawn by a Turing Machine'
copyright: '(c) 2022 Thomas Woehlke'
width: 400
height: 292
scale: 3
control:
threadSleepTime: 50
mandelbrotZoom:
view:
title: 'Mandelbrot Set'
subtitle: 'Fractal Mandelbrot Set drawn by a Turing Machine'
copyright: '(c) 2022 Thomas Woehlke'
buttonsZoomOut: 'Zoom Out'
buttonsZoomLabel: 'Zoom'
width: 400
height: 292
scale: 3
model:
complexWorldDimension:
realX: 3.2d
imgY: 2.34d
complexCenterForMandelbrot:
realX: -2.2d
imgY: -1.17d
complexCenterForJulia:
realX: -1.6d
imgY: -1.17d
control:
threadSleepTime: 50
simulatedevolution:
view:
title: 'Simulated Evolution'
subtitle: 'Artificial Life Simulation of Bacteria Motion depending on DNA'
copyright: "(C) 2022 Thomas Woehlke"
width: 320
height: 234
scale: 3
control:
threadSleepTime: 100
exitStatus: 0
queueMaxLength: 1000
cellConf:
fatMax: 2000
fatHungerMax: 1000
fatMinimumForSex: 800
fatAtBirth: 500
fatPerFood: 25
ageOfAdulthood: 200
ageOld: 800
ageMax: 1000
population:
initialPopulation: 20
panelPopulationStatistics: 'Statistics'
youngCellsLabel: 'young'
youngAndFatCellsLabel: 'fat'
fullAgeCellsLabel: 'adult'
hungryCellsLabel: 'hungry'
oldCellsLabel: 'old'
populationLabel: 'all'
generationOldestLabel: 'oldest Generation'
generationYoungestLabel: 'youngest Generation'
food:
foodPerDay: 20
foodPerDayFieldColumns: 3
foodPerDayLabel: 'Food per Day:'
foodPerDayBorderLabel: 'Food per Day:'
buttonFoodPerDayIncrease: '+'
buttonFoodPerDayDecrease: '-'
panelFood: 'Food'
gardenOfEden:
panelGardenOfEden: 'Garden of Eden'
gardenOfEdenEnabled: true
gardenOfEdenEnabledString: 'enabled'
gardenOfEdenEnabledToggleButton: 'Change'
foodPerDay: 80
gardenOfEdenLatticeDivisor: 5
gardenOfEdenLatticeDivisorPadding: 2
cca:
view:
title: 'Cyclic Cellular Automaton'
subtitle: 'Cyclic Cellular Automaton'
neighborhood:
title: 'Neighborhood'
typeVonNeumann: 'Von Neumann'
typeMoore: 'Moore'
typeWoehlke: 'Woehlke'
control:
threadSleepTime: 100
randomwalk:
view:
title: 'Random Walk'
subtitle: 'Brownian Motion by Fractal Random Walk'
control:
threadSleepTime: 100
dla:
view:
title: 'Diffusion Limited Aggregation'
subtitle: 'Fractal Random Walk due to Brownian Motion Cluster'
control:
threadSleepTime: 50
numberOfParticles: 30000
kochsnowflake:
view:
title: 'Koch Snowflake'
subtitle: 'Fractal Koch Snowflake'
neighborhood:
title: 'Neighborhood'
typeVonNeumann: 'Von Neumann'
typeMoore: 'Moore'
typeWoehlke: 'Woehlke'
control:
threadSleepTime: 50
numberOfParticles: 30000
samegame:
view:
title: 'Same Game'
subtitle: 'Play the Same Game'
neighborhood:
title: 'Neighborhood'
typeVonNeumann: 'Von Neumann'
typeMoore: 'Moore'
typeWoehlke: 'Woehlke'
control:
threadSleepTime: 50
numberOfParticles: 30000
sierpinskitriangle:
view:
title: 'Sierpinski Triangle'
subtitle: 'Fractal Sierpinski Triangle'
neighborhood:
title: 'Neighborhood'
typeVonNeumann: 'Von Neumann'
typeMoore: 'Moore'
typeWoehlke: 'Woehlke'
control:
threadSleepTime: 50
numberOfParticles: 30000
tetris:
view:
title: 'Tetris'
subtitle: 'Play Tetris'
neighborhood:
title: 'Neighborhood'
typeVonNeumann: 'Von Neumann'
typeMoore: 'Moore'
typeWoehlke: 'Woehlke'
control:
threadSleepTime: 50
numberOfParticles: 30000
turmite:
view:
title: 'Turmite'
subtitle: 'Termites as Turing Machines with 2D Tape'
neighborhood:
title: 'Neighborhood'
typeVonNeumann: 'Von Neumann'
typeMoore: 'Moore'
typeWoehlke: 'Woehlke'
control:
threadSleepTime: 50
numberOfParticles: 30000
wator:
view:
title: 'WaTor'
subtitle: 'Population Dynamics on Planet Water Torus'
neighborhood:
title: 'Neighborhood'
typeVonNeumann: 'Von Neumann'
typeMoore: 'Moore'
typeWoehlke: 'Woehlke'
control:
threadSleepTime: 50
numberOfParticles: 30000
gameoflive:
view:
title: 'Conways Game of Life'
subtitle: 'Conways Game of Life Cellular Automaton'
neighborhood:
title: 'Neighborhood'
typeVonNeumann: 'Von Neumann'
typeMoore: 'Moore'
typeWoehlke: 'Woehlke'
control:
threadSleepTime: 50
numberOfParticles: 30000
Binary file added src/test/resources/img/julia01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/test/resources/img/julia02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/test/resources/img/screen01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/test/resources/img/screen02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/test/resources/img/screen03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/test/resources/log4j.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</Console>
<RollingFileAppender name="LogFile" fileName="kurzweil.log" append="true">
<PatternLayout>
<Pattern>%d %p %class{1.} [%t] %location %m %ex%n</Pattern>
</PatternLayout>
</RollingFileAppender>
</Appenders>
<Loggers>
<Logger name="org.woehlke.computer.kurzweil.mandelbrot.zoom" level="info" includeLocation="true">
<AppenderRef ref="Console"/>
</Logger>
<Root level="info">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>

0 comments on commit 324bd17

Please sign in to comment.