Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ckipp01/an-intro-to-flow-fields-in-scala
Code samples to go along with the blog post and talk.
https://github.com/ckipp01/an-intro-to-flow-fields-in-scala
processing scala
Last synced: 14 days ago
JSON representation
Code samples to go along with the blog post and talk.
- Host: GitHub
- URL: https://github.com/ckipp01/an-intro-to-flow-fields-in-scala
- Owner: ckipp01
- Created: 2023-06-25T10:35:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-04T10:41:49.000Z (about 1 year ago)
- Last Synced: 2024-10-04T17:31:32.976Z (about 1 month ago)
- Topics: processing, scala
- Language: Scala
- Homepage: https://www.chris-kipp.io/blog/an-intro-to-flow-fields-in-scala
- Size: 2.37 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# An intro to Flow Fields in Scala
This repo holds the code necessary to run the examples in [this blog
post](https://www.chris-kipp.io/blog/an-intro-to-flow-fields-in-scala) as well
as the examples that will be shown during the talk at [ScalaDays](https://scaladays.org/madrid-2023/) in Madrid.## What's needed
- [scala-cli](https://scala-cli.virtuslab.org/)
## How to run
Inside of each numbered Scala file you'll see a main method. Each one
corresponds to an image in the blog post. For example to run the first one via
the command line you can do the following:```sh
scala-cli run -M runOne .
```If you don't include the `-M runOne` you'll instead be prompted which main
method you'd like to run. When ran you should see a window pop up with the
generated image.