# ttk availability

**URL:** https://discourse.paraview.org/t/ttk-availability/10392
**Category:** ParaView Support
**Created:** [September 23, 2022, 2:59am UTC](https://discourse.paraview.org/t/ttk-availability/10392 "2022-09-23T02:59:40Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Pravin\_Poudel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/pravin_poudel/32/9830_2.png) [@Pravin\_Poudel](https://discourse.paraview.org/u/Pravin_Poudel)
#### Post date: [September 23, 2022, 2:59am UTC](https://discourse.paraview.org/t/ttk-availability/10392/1 "2022-09-23T02:59:40Z")

</div>

Hi @Charles_Gueunet@julien-tierny

i want to implement the ttk in my web project where i want to get the segmentation output from contour tree generator filter !!!

I am not able to figure out if there is any package or way i can use ttk in my js project. Can you please help me to get some idea about this issue !!

Thank you

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 23, 2022, 3:16am UTC](https://discourse.paraview.org/t/ttk-availability/10392/2 "2022-09-23T03:16:22Z")

</div>

Hi @Pravin_Poudel ,

It looks like your question is very specific to TTK and not directly related to ParaView.

You may find more help on the TTK mailing list: [TTK - the Topology ToolKit - Topological Data Analysis and Visualization](https://topology-tool-kit.github.io/contact.html)

Best,

---

<div class="post-metadata">

### Author: ![Pravin\_Poudel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/pravin_poudel/32/9830_2.png) [@Pravin\_Poudel](https://discourse.paraview.org/u/Pravin_Poudel)
#### Post date: [September 23, 2022, 3:39am UTC](https://discourse.paraview.org/t/ttk-availability/10392/3 "2022-09-23T03:39:10Z")

</div>

thank you @mwestphal, i have emailed to the email listed in the webpage directed by the link you shared. I hope that i will get the response !!

---

<div class="post-metadata">

### Author: ![Charles\_Gueunet](https://discourse.paraview.org/user_avatar/discourse.paraview.org/charles_gueunet/32/40_2.png) [@Charles\_Gueunet](https://discourse.paraview.org/u/Charles_Gueunet)
#### Post date: [September 23, 2022, 6:50am UTC](https://discourse.paraview.org/t/ttk-availability/10392/4 "2022-09-23T06:50:38Z")

</div>

Hello @Pravin_Poudel ,

I will answer here as my answer will also concern ParaView at some point.

Unfortunately, TTK is not natively available in JS, but I see several way of integrating TTK into a website:

- If you have a server that can handle the computation, you can use a ParaView server with TTK and integrate the rendering with a project like [visualizer](https://kitware.github.io/visualizer/) or [trame](https://kitware.github.io/trame/index.html).
- An alternative still relying on a server for the computation is to use the [ttkWebSocketIO](https://topology-tool-kit.github.io/doc/html/classttk_1_1WebSocketIO.html) filter to send the data and then use a render engine you are filimiar with, using a plugin to handle the data. It may require low level interactions.

To use it natevely in Javascript, I am afraid I don’t know how to do that.

---

<div class="post-metadata">

### Author: ![Pravin\_Poudel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/pravin_poudel/32/9830_2.png) [@Pravin\_Poudel](https://discourse.paraview.org/u/Pravin_Poudel)
#### Post date: [September 23, 2022, 7:11am UTC](https://discourse.paraview.org/t/ttk-availability/10392/5 "2022-09-23T07:11:56Z")

</div>

Thank you @Charles_Gueunet atleast i got some lead from your answer, i wasted my whole day trying to figure out what are the ways that i can do to implement the pipeline that i have already built in paraview with ttk plugin loaded somewhere in project.

When u mean i can use paraview server with TTK, you meant using python right? I am sorry i am also new to python also !!

---

<div class="post-metadata">

### Author: ![Charles\_Gueunet](https://discourse.paraview.org/user_avatar/discourse.paraview.org/charles_gueunet/32/40_2.png) [@Charles\_Gueunet](https://discourse.paraview.org/u/Charles_Gueunet)
#### Post date: [September 23, 2022, 9:51am UTC](https://discourse.paraview.org/t/ttk-availability/10392/6 "2022-09-23T09:51:03Z")

</div>

The interaction with the `pvserver` will indeed be in python. If you use an existing web front-end, most of the python interaction will already be provided though. So you may not need to much python.

I would not recommend you to go from scratch and create a whole python client as it would be a lot of work, and people have already developed robust solution for this problem.
