Skip to content

Commit

Permalink
Doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisTheBrave committed Feb 5, 2023
1 parent 0b4f3db commit baa992a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Sylves

<img src="docs/images/logo_cropped.png" width="400px"/>

Sylves is a C# library for to help you handle working with 2d and 3d grids.

**[Documentation](https://www.boristhebrave.com/docs/sylves/1/)**
Expand All @@ -14,9 +16,6 @@ The key features include:
* Methods for working with meshes, such as remeshing, and deforming them to fit a grid cells.
* Fully Unity compatible, or works as a standalone library.




# See also
https://github.com/BorisTheBrave/grids
https://www.redblobgames.com/grids/hexagons
* https://github.com/BorisTheBrave/grids
* https://www.redblobgames.com/grids/hexagons
2 changes: 0 additions & 2 deletions docs/articles/tutorials/langton.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Each turn, it moves forward.
* If it lands on a white square, it turns 90 degrees clockwise, then flips the color of the square to black.
* If it lands on a black square, it turns 90 degrees counter-clockwise, then flips the color of the square to white.

<a href="https://boristhebrave.itch.io/sylves-demos"><img width="400px" src="../../images/demo/langton.gif"/></a>

Let's code this using Sylves. First, we need to define the grid we are working on. Sylves comes with [`SquareGrid`](../grids/squaregrid.md) for this purpose, which defaults to infinite size. We pass in 1f as the cell size, though the size of the grid isn't relevant to this tutorial.

```csharp
Expand Down
Binary file added docs/images/logo_cropped.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ _disableDocFxScripts: true
<!--navigation-->
<nav class="navbar navbar-expand-md navbar-light bg-white fixed-top sticky-navigation">
<a class="navbar-brand mx-auto" href="index.md">
Syles
<img src="logo.svg" style="display: inline"/>
<img src="images/logo_cropped.png" style="display: inline; width: 200px"/>
</a>
<button class="navbar-toggler navbar-toggler-right border-0" type="button" data-toggle="collapse"
data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
Expand Down

0 comments on commit baa992a

Please sign in to comment.