Prompt: patches-own[
will-live?
will-die?
]
to setup
ca
ask patches [
set pcolor white
set will-live? false
set will-die? true
]
ask patch 0 0 [
set pcolor black
set will-die? false
]
ask n-of num patches [
set pcolor black
set will-die? false
]
reset-ticks
end
to go
birth-process
death-process
update
tick
end
to birth-process
ask patches with [pcolor = white][
if count neighbors with [pcolor = black] = birth-if [
set will-live? true
]
]
end
to death-process
ask patches with [pcolor = black][
if count neighbors with [pcolor = black] >= death-if [
set will-die? true
]
]
end
to update
ask patches [
if will-die? = true [
set pcolor white
set will-die? false
set will-live? false
]
if will-live? = true [
set pcolor black
set will-live? false
set will-die? false
]
]
end
Prompt: patches-own[
will-live?
will-die?
]
to setup
ca
ask patches [
set pcolor white
set will-live? false
set will-die? true
]
ask patch 0 0 [
set pcolor black
set will-die? false
]
ask n-of num patches [
set pcolor black
set will-die? false
]
reset-ticks
end
to go
birth-process
death-process
update
tick
end
to birth-process
ask patches with [pcolor = white][
if count neighbors with [pcolor = black] = birth-if [
set will-live? true
]
]
end
to death-process
ask patches with [pcolor = black][
if count neighbors with [pcolor = black] >= death-if [
set will-die? true
]
]
end
to update
ask patches [
if will-die? = true [
set pcolor white
set will-die? false
set will-live? false
]
if will-live? = true [
set pcolor black
set will-live? false
set will-die? false
]
]
end
Would you like to report this Dream as inappropriate?
Prompt:
patches-own[
will-live?
will-die?
]
to setup
ca
ask patches [
set pcolor white
set will-live? false
set will-die? true
]
ask patch 0 0 [
set pcolor black
set will-die? false
]
ask n-of num patches [
set pcolor black
set will-die? false
]
reset-ticks
end
to go
birth-process
death-process
update
tick
end
to birth-process
ask patches with [pcolor = white][
if count neighbors with [pcolor = black] = birth-if [
set will-live? true
]
]
end
to death-process
ask patches with [pcolor = black][
if count neighbors with [pcolor = black] >= death-if [
set will-die? true
]
]
end
to update
ask patches [
if will-die? = true [
set pcolor white
set will-die? false
set will-live? false
]
if will-live? = true [
set pcolor black
set will-live? false
set will-die? false
]
]
end
Dream Level: is increased each time when you "Go Deeper" into the dream. Each new level is harder to achieve and
takes more iterations than the one before.
Rare Deep Dream: is any dream which went deeper than level 6.
Deep Dream
You cannot go deeper into someone else's dream. You must create your own.
Deep Dream
Currently going deeper is available only for Deep Dreams.