Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 683fedc

Browse filesBrowse files
N14: Drawing lines (rust-gamedev#300)
* add lines note * N14: lines: Style tweaks & fix img * N14: lines: img descr Co-authored-by: Andrey Lesnikov <ozkriff@gmail.com>
1 parent 3e86c46 commit 683fedc
Copy full SHA for 683fedc

File tree

2 files changed

+16
-0
lines changed
Filter options

2 files changed

+16
-0
lines changed

‎content/posts/newsletter-014/index.md

Copy file name to clipboardExpand all lines: content/posts/newsletter-014/index.md
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,22 @@ revamped netcode and the full core set of units.
235235

236236
## Learning Material Updates
237237

238+
### [Is it easy to draw a line?][Lines]
239+
240+
![hexagonal strategy map with region borders](lines_hexstrat.jpeg)
241+
_Example of result chains._
242+
243+
A small note by [@VladZhukov0] about drawing lines and chains
244+
with signed distance fields.
245+
The resulted lines are nice looking on edges and have rounded corners.
246+
Chains for this article assumed to be opaque.
247+
248+
Check out the [online demo](https://pum-purum-pum-pum.github.io/lines/)
249+
and its [source code](https://github.com/pum-purum-pum-pum/Lines).
250+
251+
[Lines]: https://vladjuckov.github.io/hqlines/
252+
[@VladZhukov0]: https://twitter.com/VladZhukov0
253+
238254
### [OpenGL Preprocessor for Rust]
239255

240256
With the full power of Cargo build scripts and [Tera], you can create an advanced
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.