Coder Social home page Coder Social logo

burds's Introduction

burds! ๐Ÿฆ

burds! is a weekend hack inspired by this fabulous tweet. It's a little web experiment with tiny animated birds jumping around their tiny little world. If you like this project, you may also like Tiny Humans.

burds! is written entirely in Oak, my toy programming language that conveniently compiles to JavaScript. Everything except the title text is rendered using 2D Canvas APIs.

Screenshot of burds

Development

burds! is a static, single-page app. It lives in index.html. Development is done using the oak CLI, which you can get from oaklang.org.

To autoformat the source file:

oak fmt app.js.oak --fix

To recompile the JavaScript bundle from Oak sources:

oak build --entry app.js.oak -o bundle.js --web

Usually it's convenient to automatically do this on every save of app.js.oak (with entr):

ls *.oak | entr -cr oak build --entry app.js.oak -o bundle.js --web

Note: As of the first release of this repository, the latest versioned Oak release is missing some standard library APIs (math.{sqrt, hypot, scale, bearing, orient}), so for now, you may have to build Oak from source (which is in Go) to make changes to this project. Brave souls can look more into that in the Oak repository.

burds's People

Contributors

jackgraddon avatar thesephist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

burds's Issues

Dark mode?

Not really an issue, but it would be super nice if there was a dark mode. Thanks!

Screensaver?

This is a pretty cool project. Thanks!
I was wondering if you could make a screensaver for macOS out of this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.