Melt 40g butter in a pan over low-medium heat.
Add whole star anise and the two halves of vanilla pod and fry for 30-40 seconds.
Turn the heat up to medium, add the pineapple juice and the sugar. Bring to simmer.
Add the slices of pineapple and fry, turning a few times to brown on all sides.
Once the edges have charred, remove from the pan and let cool.
Add the slices of banana and cook for 30-40 seconds on each side until caramelized. Remove from the pan.
If all liquid has by now evaporated, add another splash of pineapple juice and a little sugar. Simmer for a minute to get a syrup that can be drizzled over the yoghurt and granola.
Assemble the bowl: add the granola, a scoop or two of yoghurt, top with pineapple and banana slices, sprinkle with shaved coconut and drizzle over the remaining warm syrup.