This element is an extension of this element. Select a sampling distribution and a desired distribution, and watch how importance sampling approximates the desired distribution by assigning weights to each sample. Then select a resampling strategy and press the "resample" button. How do the different resampling strategies affect the effective sample size and the number of unique samples?