Clone this repo:

Branches

  1. a938c61 Add cairo dependency to the build file. by P.Y. Laligand · 7 weeks ago master
  2. 65894a4 Don't refer to the cairo native lib. by P.Y. Laligand · 8 weeks ago
  3. 3a6afd6 Add a spinning square example written in Rust by Rob Tsuk · 8 weeks ago
  4. d5634fc Initial commit by Rob Tsuk · 3 months ago
  5. fc7fca3 Add PATENTS file by George Kulakowski · 5 months ago

Rust Spinning Square

This is an example of how to write a Fuchsia module in Rust. It draws a slowly spinning square and allows you to click or touch to control the square's angle.

To run, from a Fuchsia shell type:

launch spinning_square_rs