Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thundermiracle/react-sunflower

Draw sunflower by canvas
https://github.com/thundermiracle/react-sunflower

canvas fibonacci material-ui nextjs nextjs-mui-helper react sunflower sunflower-simulator

Last synced: 22 days ago
JSON representation

Draw sunflower by canvas

Awesome Lists containing this project

README

        

react-sunflower

[![dependencies Status](https://david-dm.org/thundermiracle/next-mui-helper/status.svg)](https://david-dm.org/thundermiracle/react-sunflower)
[![devDependencies Status](https://david-dm.org/thundermiracle/next-mui-helper/dev-status.svg)](https://david-dm.org/thundermiracle/react-sunflower?type=dev)
[![peerDependencies Status](https://david-dm.org/thundermiracle/next-mui-helper/peer-status.svg)](https://david-dm.org/thundermiracle/react-sunflower?type=peer)

## Description

react-sunflower is a project which draws spiral and sunflower for fun.

The caculating algorithm is inspired by this great article -- [[Circles, Spirals and Sunflowers]](https://krazydad.com/tutorials/circles_js/).

The project is created with [nextjs](https://github.com/zeit/next.js/), [material-ui](https://github.com/mui-org/material-ui) and [next-mui-helper](https://github.com/thundermiracle/next-mui-helper).

You can change the angle to re-draw to see the difference with golden angle.

## Preview

1. Draw spiral (GoldenAngle).

![Spiral.DrawSync](img/spiralSync.gif)

2. Draw sunflower (GoldenAngle).

![Sunflower.DrawSync](img/sunflowerSync.gif)

## License

This project is licensed under the terms of the
[MIT license](/LICENSE).