Coder Social home page Coder Social logo

boxes-and-bubbles's Introduction

Hello, I'm Justin Kaeser

I work at JetBrains in various capacities. I coordinate development for Bazel support in IntelliJ IDEA through bazel-bsp and the Bazel plugin for IntelliJ, and I was a member of the Scala plugin for IntelliJ IDEA team 2016-2022, focusing on build tool integration, specifically sbt and developing the Build Server Protocol.

Projects I'm currently involved in

Some projects I've started or contributed to in the past

boxes-and-bubbles's People

Contributors

apatil avatar gitter-badger avatar greim avatar jastice avatar trotha01 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

Watchers

 avatar  avatar  avatar  avatar

boxes-and-bubbles's Issues

Bounds function incorrect placement

I may not understand what it's supposed to do, or maybe it's a bug, but I can't seem to get them to position correctly. If I change the math a little bit from this:

box (w,thickness) inf restitution (cx, hExt+halfThick) (0,0) meta,
box (w,thickness) inf restitution (cx, -(hExt+halfThick)) (0,0) meta,
box (thickness,h) inf restitution (wExt+halfThick, cy) (0,0) meta,
box (thickness,h) inf restitution (-(wExt+halfThick), cy) (0,0) meta

To this:

box (w,thickness) inf restitution (cx, cy + (hExt+halfThick)) (0,0) meta,
box (w,thickness) inf restitution (cx, cy - (hExt+halfThick)) (0,0) meta,
box (thickness,h) inf restitution (cx + (wExt+halfThick), cy) (0,0) meta,
box (thickness,h) inf restitution (cx - (wExt+halfThick), cy) (0,0) meta

Then it behaves exactly as I expect.

https://github.com/jastice/boxes-and-bubbles/blob/master/src/BoxesAndBubbles.elm#L109-L112

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.