To create a marble effect with a cake, scoop the cake batter, alternating between vanilla and chocolate into prepared baking pans. Use a butter knife, swirl the batters together to create a marble pattern.