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
- Host: GitHub
- URL: https://github.com/wdevore/dart
- Owner: wdevore
- License: mit
- Created: 2024-01-07T01:41:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T17:07:07.000Z (about 2 years ago)
- Last Synced: 2024-04-21T22:48:52.010Z (about 2 years ago)
- Topics: dart, rasterizer, sdl2
- Language: Dart
- Homepage:
- Size: 34.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.

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
```