From 7236ed5566c949ad1be1ea3459f12c097d174a14 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Tue, 3 Oct 2023 13:43:35 +0200 Subject: [PATCH] Update readme --- README.org | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index ccf596b..0708f82 100644 --- a/README.org +++ b/README.org @@ -1,10 +1,10 @@ * Reaction-Diffusion Model -[[https://en.wikipedia.org/wiki/Reaction%E2%80%93diffusion_system][Reaction-Diffusion system]] simulation using the Gray-Scott model, in [[https://www.dyalog.com/][Dyalog APL]]. +[[https://en.wikipedia.org/wiki/Reaction%E2%80%93diffusion_system][Reaction-Diffusion system]] simulation using the Gray-Scott model, in [[https://www.dyalog.com/][Dyalog APL]] and [[https://mlochbaum.github.io/BQN/index.html][BQN]]. [[img.png]] -** Running +** Running the Dyalog version [[https://www.dyalog.com/download-zone.htm][Install Dyalog APL]] and [[https://en.wikipedia.org/wiki/Netpbm][Netpbm]] (~apt-get install netpbm~). Then run ~make~. This will create the =img.pnm= and =img.png= files in the @@ -14,6 +14,15 @@ The images are generated from APL by creating a [[https://en.wikipedia.org/wiki/ nice because they are just plain-text. It is then converted to PNG using ~pnmtopng~. +** Running the BQN version + +Clone [[https://github.com/dlozeve/bqn-graphics][bqn-graphics]] at the same level than this repository. Run the +=./generate_animation.sh= script. It requires [[https://www.gnu.org/software/parallel/][GNU Parallel]], [[https://en.wikipedia.org/wiki/Netpbm][Netpbm]], +and ffmpeg. + +PNM and PNG images are in the =out= directory, and the animation is in +=out.mp4=. + ** Parameters All the parameters are defined directly in [[grayscott.dyalog]].