...loading...
Canvas size:
Grid:
Use Chrome DevTools to Modify Source Code 'On the Fly' - Stage
...loading...
Canvas size:
Grid:
(Temporary edits that can 'override' an existing design)
Did you know you can modify a webpage?!
Use Chrome Developer Tools to edit HTML, CSS, and JavaScript in the browser and see results instantly.
If you haven't already, create a folder to house any 'overrides' you wish to make in the page. Many find it convenient to put it on the desktop with a name like 'COverrides' (Chrome Overrides).
Then...
You can experiment with changes safely without affecting the original source files.
Try this: change the header text, tweak a color, or adjust the canvas size, then reload to see the changes! See if you can modify the SWDisk by modifying elements in the swDiskSimpleSketch.js file. Can you find it?!
This app features SWDisk, SWGrid, SWPoint, and SWColor, that utilize the p5js ecosystem. Load their reference pages to see how they work and use 'Overrides' to explore their functionality safely.
Feeling brave? Study the SWSinusoid reference page: Can you make the SWDisk breathe?! Cycle its colors?!
Note: This method is ideal for testing and debugging, but remember that changes made through DevTools are temporary and only affect your local view of the page. Always keep backups of your original files when experimenting with overrides. For more extensive training in the use of Chrome's DevTools, check out Austin's Live-Page Hacker tutorial.