Commit 52a76308 authored by Adam Štěpánek's avatar Adam Štěpánek
Browse files

Improve the readme a bit

parent a3cd9180
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
= HASH: HASH Ain't Simple Hash
:manversion: v0.1.0
:doctype: manpage
:mantitle: HASH
:manvolname: PV259 Generative Design Programming
:tip-caption: TL;DR
:caution-caption: Change
:date: 2021-02-14
@@ -63,7 +61,8 @@ If you can, use the `./run.ps1` script. You have several options:
+
[source, powershell]
----
./run.ps1 -Hash "f5e42602c9f8409e695c317202105bef68248ec97660a648259e758afd8e1918"
./run.ps1 -Hash `
    "f5e42602c9f8409e695c317202105bef68248ec97660a648259e758afd8e1918"
----

* Use a string as a seed:
@@ -80,14 +79,14 @@ If you can, use the `./run.ps1` script. You have several options:
./run.ps1 -Path "C:/path/to/a/file.bin"
----

* Additionally, you can specify desired width and height of the output image:
* Specify desired width and height of the output image:
+
[source, powershell]
----
./run.ps1 -Seed "HASH" -Width 3840 -Height 2160
----

* To print more verbose information:
* Print more verbose information:
+
[source, powershell]
----
@@ -111,7 +110,9 @@ runp5() {
    SERVE_PID=$!

    P5HASH=$HRANDOM
    firefox -P hash "http://localhost:5000/sketches/$1/$1?hash=$P5HASH&width=$WIDTH&height=$HEIGHT" >/dev/null 2>&1 &
    QUERY="?hash=$P5HASH&width=$WIDTH&height=$HEIGHT"
    firefox -P hash "http://localhost:5000/sketches/$1/$1$QUERY" \
        >/dev/null 2>&1 &

    FIREFOX_PID=$!

@@ -206,3 +207,7 @@ This project would not be possible without those that decided to let me borrow t
** Mood

*Thank you all!*

== Author

Adam Štěpánek <xstepan1 at fi.muni.cz>
+2 −0
Original line number Diff line number Diff line
@@ -38,3 +38,5 @@ link:
  font-color: $my-vulkan
literal:
  border-width: 0
code:
  padding: 5