Giter VIP home page Giter VIP logo

ft-demos's Introduction

Welcome ๐Ÿ‘ฝ

Iโ€™m a full-stack software developer specializing in writing native iOS and web apps.

Please check out my Portfolio. Or go here to Contact Me.

ft-demos's People

Contributors

cgorringe avatar hzeller avatar mlgraham avatar yosinski 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

Watchers

 avatar  avatar  avatar  avatar

ft-demos's Issues

blur has the last column black

In 'blur', the last column is always black. This is probably due to the

  // draw black border & blur on every frame

Which is not quite clear to me why that is. However, if I remove the black box, then there is some artifact on the right (looks like pixel are collecting) - so there is presumably a reason for this.

However, it would be good to fill the screen fully. Should this just be hacked with opt_width+=1; somewhere ? :)

Using random() instead of arc4random_uniform() ?

The arc4random_uniform(int range) function seems to be specialized for a particular platform, so this code does not compile without modifications.

Would it hurt to replace it with calls to random() % range ? The random() function might not be the best ever random generator, but it is available in all standard C libraries (#include <stdlib.h>)

(or just some simple file with an

  inline int rangedRandom(int range) {
#ifdef MACOS
   return arc4random_uniform(range);
#else
    return random() % range;
#endif
  }

)

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.