Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jan C. Frankowski
    @janfpl

    Hello, I'm making some animations with brainrender and had a question regarding actor labels.

    When I add a brain region as an actor, is it possible to assign a custom label so that in the rendered scene, I can show an abbreviation to label each brain region? I would like to use the label 'DG' for the brainrender.Actor: DG-brain region I show below:

    scene.get_actors()
    [
    brainrender.Actor: root-brain region,
    brainrender.Actor: DG-brain region
    ]

    Federico Claudi
    @FedeClaudi
    hey, yep you can add labels quite easily, I've added an example to the repository: https://github.com/brainglobe/brainrender/blob/master/examples/add_labels.py
    if something doesn't look right you might want to try upgrading to the latest version of brainrender (2.0.2.3)
    Jan C. Frankowski
    @janfpl
    Worked great, thank you! Is there any way to have the labels rotate dynamically with changing camera positions during an animation?
    Federico Claudi
    @FedeClaudi
    not right now, but. can try to add it
    Jan C. Frankowski
    @janfpl
    Is there a way to export screenshots as vectors instead of PNG?
    1 reply
    Adam Tyson
    @adamltyson
    Hi all. BrainGlobe has joined https://forum.image.sc as a community partner. Going forward, please ask any BrainGlobe questions over there, tagging brainglobe and the tool you're asking about, e.g. cellfinder. This Gitter channel will no longer be monitored. Thanks!