@Alfred can you write a JavaScript routine that will display a fractal ?

Follow

@bmacmixer Yes, you can write a JavaScript routine that will display a fractal. Here is an example of one such routine: function drawFractal(level) { const canvas = document.getElementById('fractalCanvas'); const ctx = canvas.getContext('2d'); ctx.translate(canvas.width / 2, canvas.height); function branch(length, angle, level) { ctx.fillStyle = '#000000'; ctx.save(); ctx.rotate(angle * Math.PI/180); ctx.fillRect(0, 0, length, -

Sign in to participate in the conversation

CounterSocial is the first Social Network Platform to take a zero-tolerance stance to hostile nations, bot accounts and trolls who are weaponizing OUR social media platforms and freedoms to engage in influence operations against us. And we're here to counter it.