Skip to content

Commit

Permalink
Update JDK and JavaFX
Browse files Browse the repository at this point in the history
  • Loading branch information
nusco committed Jul 3, 2019
1 parent f85a50b commit 54f8954
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 25 deletions.
42 changes: 21 additions & 21 deletions backlog.md
Expand Up @@ -14,7 +14,7 @@
Importantly, this story removes the concept of "outer space" and makes collisions work anywhere.
Make it visualizable.

+ Ultra-broad CD pass to remove isolated creatures-
+ Ultra-broad CD pass to remove isolated creatures-
Use Manhattan distance (axis-aligned bounding boxes).
Maybe I'm already doing it? Does it make a difference?

Expand Down Expand Up @@ -48,18 +48,18 @@
>goal: complex interactions
Narjillos decide where to go based on their attraction/repulsion to other creatures and things.

This is another example of complex interactions. It might result in interesting behaviors and
"smart" species. It's also a precondition for Predators.

I didn't decide how to do this yet. It may be weights-based.

Problem: what happens if narjillos keep hitting the edges while escaping something?
Maybe build in edge-avoidance istinct?

* Species identification
Probably based on DNA SimHashes? Or fibers?

* Instinct genes
How? Probably just a set of SimHashes and weights?
Maybe a small set of curves with multiplies and shifters, all determined by the genes?
Expand All @@ -77,7 +77,7 @@
>goal: complex interactions
Narjillos can eat each other.

This is a complex direct interaction that might pave the road to an arms race amongst species.
I should consider removing food by default after this is implemented.

Expand All @@ -98,13 +98,13 @@
+ Remove the concept of ecosystem size
Replace with something else. Right now it's only used for graphics (viewport size),
spawn area, and maybe to damage narjillos too far from the center.

- Narjillos eat eggs


##Flexible Genes
>goal: specialized creatures
More qualities of the creatures are determined by genes instead of being hard-coded.

* Chromosome swapping mutation
Expand All @@ -115,14 +115,14 @@

+ Max lifespan is genetically determined
within a limit

- Lateral viewfield is genetically determined
- Growth rate is genetically determined
maybe? (Consumes energy?)

- Egg incubation time is genetically determined
maybe. (Makes sense if egg contains green fibers)

- Adult body size is genetically determined

+ Gene mutation rate itself is determined by genes
Expand Down Expand Up @@ -287,7 +287,7 @@

* Native Mac app
See https://bitbucket.org/infinitekind/appbundler (from Cipster)

* Allow multiple configurations
With a -c switch. Also have a default configuration

Expand All @@ -308,13 +308,13 @@

+ Fix "tail wiggles dog" effect
if it's still there - I'm not sure

+ Rotation inertia
but check comments in physics engine - it may break previous assumptions

+ Translation inertia
but check comments in physics engine - it may break previous assumptions

+ Limit rotation speed
is this a good idea?

Expand All @@ -332,10 +332,10 @@
>goal: faster evolution
Cyclically vary the amount of food that spawns.

Studies show that evolution works best if there are enough resources (food),
but not too many. The problem is that it's hard to know what "enough but
not too many" means. So I want to try this: food amount is cyclical. I'm
but not too many. The problem is that it's hard to know what "enough but
not too many" means. So I want to try this: food amount is cyclical. I'm
hoping that along the way from "almost starving" to "economy of
abundance", the system will hit a few evolutionary sweet spots.

Expand Down Expand Up @@ -366,7 +366,7 @@
- Show graphs for historical data
+ View stats for followed narjillo
age, energy, radius, times eaten, genome...

- Tutorial
+ In-app configuration panel

Expand All @@ -375,7 +375,7 @@
>goal: different species
Creatures mate and generate mixed-DNA offsprings.

A lot of things to decide here. do I really need this stuff to get speciation? Probably
not – so I'll leave it as a low priority for now.

Expand All @@ -387,7 +387,7 @@

+ Species clustering control reproductive success
maybe. (to keep species apart)

- Diploid creatures
maybe. would this be useful?

Expand All @@ -396,7 +396,7 @@
>goal: nice user experience
Make it easier to move around the dish in a graphical run.

I should also test navigation with a first-time user.

+ "Next" command during demo/following
Expand Down
5 changes: 3 additions & 2 deletions build.gradle
Expand Up @@ -5,16 +5,17 @@ plugins {
id 'application' // loads also the 'distribution' plugin
id 'eclipse'
id 'idea'
id 'org.openjfx.javafxplugin' version '0.0.5'
id 'org.openjfx.javafxplugin' version '0.0.7'
}

// Basic Configuration

sourceCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_12

mainClassName = 'org.nusco.narjillos.NarjillosRunner'

javafx {
version = "12.0.1"
modules = [ 'javafx.controls' ]
}

Expand Down

0 comments on commit 54f8954

Please sign in to comment.