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

https://github.com/wdevore/dart

Various Dart CLI applications including Triangle rasterizer
https://github.com/wdevore/dart

dart rasterizer sdl2

Last synced: about 1 year ago
JSON representation

Various Dart CLI applications including Triangle rasterizer

Awesome Lists containing this project

README

          

# Description
This repo contains various apps that range from extremely simple all the way to a simple 3D viewer.

## Triangle renderer
This app is a functional Brensenham triangle rasterizer based on [Leen Ammeraal](https://link.springer.com/book/10.1007/978-3-319-63357-2)'s book. It also incorporates the Top-Left rule.

![Gif](triangle_renderer.gif)

Also: [Full res Video](triangle_renderer.mp4)

# Dart

- https://dart.dev/get-dart#stable-channel
- https://pub.dev/packages/sdl2/install

# Flutter and Dart
Installing Dart separately yields something different. You really should upgrade Dart via Flutter:

This issue is because of the dart version and by updating flutter the dart version won't update, the way for solving this is, first, you need to be on the dev or master channel,

```sh
flutter channel master
flutter upgrade
```

after that run ```flutter doctor -v``` as you see your dart is still an old one

in this step, you should update it manually, as the doc says Dart

# Create a new project
```sh
dart create ttf_example
```