Find Jobs
Hire Freelancers

Tweak a pre-existing Python script to include a sliding window for the data and plot image save function for a sequence of images

$30-250 USD

In Progress
Posted over 5 years ago

$30-250 USD

Paid on delivery
This is for an animation project and I already have the core of the script (attached). I imagine it’s a very quick job for someone who knows what they’re doing. I’ve been playing around with this script which is used to generate ulam spirals based on the distribution of primes. I’ve already stripped out the prime generating part as I don’t need that and edited it to populate the squares of the spiral in a sequence of my choosing. In this case I paste in the positions on the spiral where I want them to be black. eg. position 2,5,7,23,45, etc. from the middle out. That works but I need it to be more dynamic. In this configuration I have to run the script manually each time to generate a new image and it’s very slow. What I really need is to run a binary sequence through it of zeros or ones. Using a csv with a single column of ones and zeros as the source. One making a black square and zero a white one. Is there a way to edit the script so that it has a sliding window of the spiral size (in this example script case of 361 squares), then creates image saved as "[login to view URL]", then loops to beginning deletes first number in sequence and generates image for that next 361 in the sequence and saves it as "[login to view URL]". And so on until the entire sequence has been run through…
Project ID: 17825067

About the project

1 proposal
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $55 USD for this job
User Avatar
Hello I think that I can help you. if you're interested message me so we can talk a little more about it. But if I'm understanding well I think that you want an input csv to filter the defined list of primes to do the job isn't it right?
$55 USD in 2 days
5.0 (6 reviews)
3.0
3.0

About the client

Flag of FRANCE
Moncrabeau, France
5.0
8
Payment method verified
Member since Feb 16, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.