# Need help on contributing a vtk example

**URL:** <https://discourse.vtk.org/t/need-help-on-contributing-a-vtk-example/13966>\
**Category:** Development\
**Created:** [June 2, 2024, 4:29am UTC](https://discourse.vtk.org/t/need-help-on-contributing-a-vtk-example/13966 "2024-06-02T04:29:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJamal](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@MJamal](https://discourse.vtk.org/u/MJamal)\
**Post date:** [June 2, 2024, 4:29am UTC](https://discourse.vtk.org/t/need-help-on-contributing-a-vtk-example/13966/1 "2024-06-02T04:29:51Z")

</div>

Hello,

I’ve developed a cool VTK example of a stylized, animated atom structure. The example demonstrates the use of several classes, such as vtkEllipseArcSource and vtkLegendBoxActor.

I’ve looked through the official VTK examples [repository](https://gitlab.kitware.com/vtk/vtk-examples) on GitLab, but I couldn’t find a guidelines section on how to contribute. However, I found a link for developers in the src directory, but it seems to be unavailable [link](https://gitlab.kitware.com/vtk/vtk-examples/-/blob/master/Instructions/ForDevelopers).

I would appreciate any help pointing me in the right direction.

---

<div class="post-metadata">

**Author:** ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Post date:** [June 2, 2024, 11:19pm UTC](https://discourse.vtk.org/t/need-help-on-contributing-a-vtk-example/13966/2 "2024-06-02T23:19:24Z")

</div>

New examples are welcome. Please look at [VTK Examples](https://examples.vtk.org/site/), here, you can find the instructions in the left-hand menu in the **Instructions** section. [For Developers](https://examples.vtk.org/site/Instructions/ForDevelopers/) would be a good place to start. If you are doing a C++ example, also read the **WASM** section.

---

<div class="post-metadata">

**Author:** ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)\
**Post date:** [June 3, 2024, 1:12pm UTC](https://discourse.vtk.org/t/need-help-on-contributing-a-vtk-example/13966/3 "2024-06-03T13:12:27Z")

</div>

Hello,

You can also start a public repository for it in GitHub ([https://github.com/](https://github.com/)). If you’re acquainted with Git, you can share it with the world in no time.

best,

PC

---

<div class="post-metadata">

**Author:** ![MJamal](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@MJamal](https://discourse.vtk.org/u/MJamal)\
**Post date:** [June 4, 2024, 3:59am UTC](https://discourse.vtk.org/t/need-help-on-contributing-a-vtk-example/13966/4 "2024-06-04T03:59:27Z")

</div>

@amaclean Thanks for providing the links. That’s what I was looking for.

---

<div class="post-metadata">

**Author:** ![MJamal](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@MJamal](https://discourse.vtk.org/u/MJamal)\
**Post date:** [June 4, 2024, 4:05am UTC](https://discourse.vtk.org/t/need-help-on-contributing-a-vtk-example/13966/5 "2024-06-04T04:05:19Z")

</div>

@Paulo_Carvalho Yes, I’ve already hosted the example on a public repo ([GitHub - MujassimJamal/StylizedAtom: A Stylized Atom structure using The Visualization Toolkit (VTK) and C++.](https://github.com/MujassimJamal/StylizedAtom)) in GitHub.

Anyone is welcome to check it out. Thanks!

---

<div class="post-metadata">

**Author:** ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)\
**Post date:** [June 4, 2024, 1:26pm UTC](https://discourse.vtk.org/t/need-help-on-contributing-a-vtk-example/13966/6 "2024-06-04T13:26:07Z")

</div>

Thank you. That’s really a nice VTK demonstration. But, if you excuse my nitpicking, the atom model itself like a small solar system is obsolete. Electrons in an atom exist as standing waves (like those of a drum skin when we play it). Although, as you know, the accurate, probabilistic representation would be far more challenging to code.

---

<div class="post-metadata">

**Author:** ![MJamal](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@MJamal](https://discourse.vtk.org/u/MJamal)\
**Post date:** [June 4, 2024, 1:59pm UTC](https://discourse.vtk.org/t/need-help-on-contributing-a-vtk-example/13966/7 "2024-06-04T13:59:23Z")

</div>

Well, you’re right. It’s indeed very challenging to code an accurate model. Perhaps we can consider the example as a Bohr’s model? Haha.

Anyway, my main goal was to explore and use VTK classes, which I really enjoyed.
