Giter VIP home page Giter VIP logo

cryo-em-hackdays's Introduction

About this repo

I was excited to get back to Svelte and to explore some ideas that came up after looking at the tech challenge sample app.

My methodology as a coder usually goes proof of concept > prototype > production. All this very much belongs to the proof of concept stage!

Session 1

  • how might a keyboard-friendly and accessible grid-select interface work?
  • radio groups give us left and right arrow keys for free, let's capture up and down and hop rows to see how it feels (there are unhandled edge cases here)

Session 2

  • let's make some fake cryo-em images!
  • generated circles with parameters from diffent distributions:
    • random (circle radius)
    • gaussian random (x position, y position, transparency)
    • inverse gaussian random (colour, to push it to very light or very dark values for punchy alpha composites)
    • noise (it's lazy code and soooo slow, but I like to get pixels on the screen; I refactored this in the private repo I shared)
  • render canvas to image and download it (I am being profligate with canvases here, it's a proof of concept)
  • super basic vanilla JS plot

Session 3

  • mostly playing with Observable plots
  • swap canvas for rendered images in-place
  • note we can see on the graphs which circle parameters were drawn from a gaussian distribution and which weren't, in line with expectations

Screenshots

Session 1

Screenshot 2024-04-02 at 2 49 40 PM

Session 2

Screenshot 2024-04-02 at 2 49 48 PM

Session 3

Screenshot 2024-04-02 at 2 50 02 PM

cryo-em-hackdays's People

Contributors

jakemoves avatar

Watchers

 avatar

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.